NCProgram.copyInto Method
Parent Object:
NCProgramDefined in namespace "adsk::cam" and the header file is <Cam/NCProgram/NCProgram.h>
Description
Creates a duplicate of the operation into the given container. You can only copy into containers, such as setups or folders. Copied operation will be copied at the end of all operations already in the container. Throws an exception if a not allowed copy operation is made for example copying a setup into a setup.
Syntax
"nCProgram_var" is a variable referencing a NCProgram object.returnValue = nCProgram_var.copyInto(container) |
"nCProgram_var" is a variable referencing a NCProgram object.
#include <Cam/NCProgram/NCProgram.h>
returnValue = nCProgram_var->copyInto(container);
|
Return Value
| boolean |
Returns if copy command was successful. |
Parameters
| container |
OperationBase |
Container to copy targeted operation into. |
Version
Introduced in version May 2024