TriadEvents.OnEndMove Event

Parent Object: TriadEvents

Description

Fired when the user ends a mouse drag, after repositioning the triad by aligning or when the user selects another triad segment after entering translation/rotation values in the dialog.

Syntax

TriadEvents.OnEndMove( SelectedTriadSegment As TriadSegmentEnum, ShiftKeys As ShiftStateEnum, CoordinateSystem As Matrix, Context As NameValueMap, HandlingCode As HandlingCodeEnum )

Parameters

Name Type Description
SelectedTriadSegment TriadSegmentEnum Returns a TriadSegmentEnum indicating the segment of the triad that was selected for this drag operation.
ShiftKeys ShiftStateEnum Returns an enumerated constant that corresponds to the state of the SHIFT, CTRL, and ALT keys when the button specified in the button argument is clicked. The constants correspond to one or more of those three keys being down. Each of these keys corresponds to a bit: SHIFT key (bit 0), the CTRL key (bit 1), and the ALT key (bit 2). These bits correspond to the values 1, 2, and 4, respectively. Combinations of these are provided as conveniences in the enumerator. For example, if only the ALT key was down, the constant kShiftStateAlt would be returned corresponding to the integer 4. If CTRL and ALT were pressed, the constant kShiftStateCtrlAlt would be returned whose integer value would be 6.
CoordinateSystem Matrix Returns a Matrix object indicating the triad's current position in model space.
Context NameValueMap Input NameValueMap object that can be used to determine the context of why the event fired.
HandlingCode HandlingCodeEnum Output HandlingCodeEnum that indicates how you are handling the event. The value of this argument is currently ignored for this event.

Version

Introduced in version 9