SelectionCommandInput.selectionCount Property

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

Description

Gets the current number of selections the user has made for this input.

Syntax

"selectionCommandInput_var" is a variable referencing a SelectionCommandInput object.

# Get the value of the property.
propertyValue = selectionCommandInput_var.selectionCount
"selectionCommandInput_var" is a variable referencing a SelectionCommandInput object.
#include <Core/UserInterface/SelectionCommandInput.h>

// Get the value of the property.
uinteger propertyValue = selectionCommandInput_var->selectionCount();

Property Value

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

Version

Introduced in version August 2014