ManipulatorEvents.OnStartDrag Event

Parent Object: ManipulatorEvents

Description

Fires when a manipulator element is selected.

Syntax

ManipulatorEvents.OnStartDrag( SelectedManipulatorElement As ManipulatorElementEnum, BeforeOrAfter As EventTimingEnum, Context As NameValueMap, HandlingCode As HandlingCodeEnum )

Parameters

Name Type Description
SelectedManipulatorElement ManipulatorElementEnum Returns a ManipulatorElementEnum indicating the element of the manipulator that was selected for this drag operation.
BeforeOrAfter EventTimingEnum Input EventTimingEnum indicating if the event is being fired before (kBefore) or after (kAfter) the manipulator element move.
Context NameValueMap Input NameValueMap object that can be used to determine the context of why the event fired.

Name=”UserDrag”,Value=Boolean. This indicates whether this event is fired because of user drags manipulator, this returns False if this is fired because of calling ApplyDrag method.

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 2017