CommandInputs.item Method

Parent Object: CommandInputs

Description

Returns the specified command input using an index into the collection.

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

Syntax

"commandInputs_var" is a variable referencing a CommandInputs object.
returnValue = commandInputs_var.item(index)
"commandInputs_var" is a variable referencing a CommandInputs object.

#include <Core/UserInterface/CommandInputs.h>

returnValue = commandInputs_var->item(index);

Return Value

Type Description
CommandInput Returns the specified item or null if an invalid index was specified.

Parameters

Name Type Description
index uinteger The index of the item within the collection to return. The first item in the collection has an index of 0.

Version

Introduced in version August 2014