SelectionEvent.activeInput Property

Parent Object: SelectionEvent

Description

Returns the SelectionCommandInput that is currently active in the command dialog and that the user is selecting entities for. This can be used to determine which set of rules you want to apply to determine if the current entity is selectable or not.

Defined in namespace "adsk::core" and the header file is <Core/UserInterface/SelectionEvent.h>.

Syntax

"selectionEvent_var" is a variable referencing a SelectionEvent object.

# Get the value of the property.
propertyValue = selectionEvent_var.activeInput
"selectionEvent_var" is a variable referencing a SelectionEvent object.
#include <Core/UserInterface/SelectionEvent.h>

// Get the value of the property.
Ptr<SelectionCommandInput> propertyValue = selectionEvent_var->activeInput();

Property Value

This is a read only property whose value is a SelectionCommandInput.

Version

Introduced in version July 2015