SelectionCommandInput.selection Method

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

Description

Returns the selection at the specified index.

Syntax

"selectionCommandInput_var" is a variable referencing a SelectionCommandInput object.
returnValue = selectionCommandInput_var.selection(index)
"selectionCommandInput_var" is a variable referencing a SelectionCommandInput object.

#include <Core/UserInterface/SelectionCommandInput.h>

returnValue = selectionCommandInput_var->selection(index);

Return Value

Type Description
Selection Returns the Selection at the specified index, or null on error.

Parameters

Name Type Description
index uinteger The index of the selection to return.

Version

Introduced in version August 2014