NCPrograms.item Method
Parent Object:
NCProgramsDefined in namespace "adsk::cam" and the header file is <Cam/NCProgram/NCPrograms.h>
Description
Function that returns the specified NC program using an index into the collection.
Syntax
"nCPrograms_var" is a variable referencing a NCPrograms object.returnValue = nCPrograms_var.item(index)
|
"nCPrograms_var" is a variable referencing a NCPrograms object.
#include <Cam/NCProgram/NCPrograms.h>
returnValue = nCPrograms_var->item(index);
|
Return Value
NCProgram |
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 April 2023