NCPrograms.itemByName Method
Parent Object:
NCProgramsDefined in namespace "adsk::cam" and the header file is <Cam/NCProgram/NCPrograms.h>
Description
Returns the NC program with the specified name.
Syntax
"nCPrograms_var" is a variable referencing a NCPrograms object.returnValue = nCPrograms_var.itemByName(name)
|
"nCPrograms_var" is a variable referencing a NCPrograms object.
#include <Cam/NCProgram/NCPrograms.h>
returnValue = nCPrograms_var->itemByName(name);
|
Return Value
NCProgram |
Returns the specified NC program or null in the case where there is no NC program with the specified name. If there are multiple NC programs with the same name, the first item in the tree will be returned. |
Parameters
name |
string |
The name (as it appears in the browser) of the operation. |
Version
Introduced in version April 2023