NCPrograms.itemByOperationId 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 operation id.
Syntax
"nCPrograms_var" is a variable referencing a NCPrograms object.returnValue = nCPrograms_var.itemByOperationId(id)
|
"nCPrograms_var" is a variable referencing a NCPrograms object.
#include <Cam/NCProgram/NCPrograms.h>
returnValue = nCPrograms_var->itemByOperationId(id);
|
Return Value
NCProgram |
Returns the specified NC program or null in the case where there is no NC program with the specified operation id. |
Parameters
id |
integer |
The id of the NC program. |
Version
Introduced in version April 2023