ObjectCollection.item Method
Parent Object:
ObjectCollectionDefined in namespace "adsk::core" and the header file is <Core/Application/ObjectCollection.h>
Description
Function that returns the specified object using an index into the collection.
Syntax
"objectCollection_var" is a variable referencing an ObjectCollection object.returnValue = objectCollection_var.item(index)
|
"objectCollection_var" is a variable referencing an ObjectCollection object.
#include <Core/Application/ObjectCollection.h>
returnValue = objectCollection_var->item(index);
|
Return Value
Base |
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