Selections.item Method
Parent Object:
SelectionsDefined in namespace "adsk::core" and the header file is <Core/UserInterface/Selections.h>
Description
Returns the specified selection using an index into the collection.
Syntax
"selections_var" is a variable referencing a Selections object.returnValue = selections_var.item(index)
|
"selections_var" is a variable referencing a Selections object.
#include <Core/UserInterface/Selections.h>
returnValue = selections_var->item(index);
|
Return Value
Selection |
Returns the specified item or null if an invalid index was specified. |
Parameters
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