SelectionEventArgs.activeInput Property

Parent Object: SelectionEventArgs

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/SelectionEventArgs.h>.

Syntax

"selectionEventArgs_var" is a variable referencing a SelectionEventArgs object.

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

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

Property Value

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

Samples

Name Description
Selection Events API Sample The sample demos how to use selection events of a command.

Version

Introduced in version May 2016