SelectEvents.OnUnSelect Event
Parent Object: SelectEventsDescription
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.
Syntax
SelectEvents.OnUnSelect( UnSelectedEntities As ObjectsEnumerator, SelectionDevice As SelectionDeviceEnum, ModelPosition As Point, ViewPosition As Point2d, View As View )Parameters
Name | Type | Description |
UnSelectedEntities | ObjectsEnumerator | Input ObjectsEnumerator that specifies the object(s) (un)selected by the user to be taken out of the selection set being built. |
SelectionDevice | SelectionDeviceEnum | Input constant denoting whether the (un)selection was made via a pick in a graphics window or was it by a pick in the browser or by some other means. An object can also be selected programmatically by calling the selection simulation methods on the CommandManager. A value of kGraphicsWindowSelection indicates it was (un)selected in a graphic window. For all other values the View, ModelPosition, and ViewPosition arguments are meaningless. |
ModelPosition | Point | Returns the coordinates that result from projecting the click point onto the (un)selected entity. This is returned in centimeters relative to model space. Applicable only when the SelectionDevice argument is kGraphicsWindowSelection. |
ViewPosition | Point2d | Returns the coordinates that specify the current location of the mouse pointer in window space and are returned in pixels. Applicable only when the SelectionDevice argument is kGraphicsWindowSelection. |
View | View | Returns the View object where the selection took place. Applicable only when the SelectionDevice argument is kGraphicsWindowSelection. |