Creates a duplicate of the operation in the tree before the given operation. Throws an exception if a not allowed copy operation is made for example copying a operation out of a setup.
"nCProgram_var" is a variable referencing a NCProgram object. |
"nCProgram_var" is a variable referencing a NCProgram object. |
| Type | Description |
| boolean | Returns if copy command was successful. |
| Name | Type | Description |
| operation | OperationBase | Operation to copy targeted operation before. |