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