Share

UserInputEvents Object


Description

The UserInputEvents object provides input event notification. For example, use of the context menu.

Properties

Name Description
Application Returns the top-level parent application object. When used the context of Inventor, an Application object is returned. When used in the context of Apprentice, an ApprenticeServer object is returned.
Parent Gets the parent object from whom this object can logically be reached.
Type Returns an ObjectTypeEnum indicating this object's type.

Events

Name Description
OnActivateCommand The OnActivateCommand event notifies the client when a command has been invoked.
OnContextualMiniToolbar Fires before contextual commands are displayed to the user in the graphics window when the user selects an object.
OnDeleteKeyUp Fires when the user performs a delete key click when no command is active.
OnDoubleClick Event that is sent when the user double-clicks in the window.
OnDrag The OnDrag event notifies the client whenever the end-user performs a drag operation in the graphics window. Using this event, the client can override Inventor's standard drag behavior.
OnLinearMarkingMenu Fires before the overflow context menu is displayed to the user.
OnPreSelect Fires when the user hovers over an Inventor object, and it is a potential candidate for selection.
OnRadialMarkingMenu Fires before the marking menu is displayed to the user or before the user gestures using the right mouse button.
OnSelect Fires when the user selects an object by clicking.
OnStopPreSelect Fires when the user hovers away from an Inventor object and it is no longer highlighted.
OnTerminateCommand The OnTerminateCommand event notifies the client when a command has been terminated.
OnUnSelect Event that occurs when the user unselects an entity. This is done in the user interface by pressing the Shift button and selecting a previously selected entity.

Accessed From

CommandManager.UserInputEvents

Samples

Name Description
OnDrag Event - dragging a WorkPoint This sample demonstrates the use of the OnDrag event to drag fixed work points when no command is active. This sample only allows drags parallel to the X-Y plane. This sample is dependent on events and VB only supports events within a class module.

Version

Introduced in version 4

Was this information helpful?