MoveEventArgs

Namespace: Digi21.DigiNG.Plugin.Command
Assembly: Digi21.DigiNG.Plugin

Data for the Command Move event, raised when the user moves the cursor in the drawing window.

public class MoveEventArgs : EventArgs

Constructors

public MoveEventArgs(Point3D coordinates, InputDeviceButton button)

Creates event data with the parameter values, returned in Coordinates and Button.

Properties

Property Description
Point3D Coordinates { get; } Cursor's ground coordinates.
InputDeviceButton Button { get; } Input device button pressed during movement: None if none, Data, Snap or Cancel. See InputDeviceButton.

If a button is pressed and the configured delay since the last data button press has not elapsed, Digi3D.AI does not raise the event.

Example

The example command in Command uses Coordinates in its Move handler to display the distance to the first point in the status bar.