Share

TriadEvents.OnStartMove Event

Parent Object: TriadEvents

Description

Event that occurs when the triad begins to move as a result of a drag, a reposition or user entering values for translation or rotation. The event provides information of the state of the triad before the move actually occurs.

Syntax

TriadEvents.OnStartMove( 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 move 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

Was this information helpful?