DoubleClick

Event that is sent when the user double-clicks in the window.

EventNames:

  • DoubleClick_Post

Parameters

Type

Name

Description

SelectionDeviceEnum

selectionDevice

Enumeration of the kind of UI used to select object.

MouseButtonEnum

button

Returns an enumerated constant that identifies the button that was clicked to cause the event.

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.

Examples:

DoubleClick_Post:

Register-InventorEvent -EventName DoubleClick_Post -Action 'PostDoubleClick'

function PostDoubleClick($selectionDevice, $button, $shiftStateEnum) {
	#Write event code here
}