Setup.copyInto Method

Parent Object: Setup
Defined in namespace "adsk::cam" and the header file is <Cam/CAM/Setup.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

"setup_var" is a variable referencing a Setup object.
returnValue = setup_var.copyInto(container)
"setup_var" is a variable referencing a Setup object.

#include <Cam/CAM/Setup.h>

returnValue = setup_var->copyInto(container);

Return Value

Type Description
boolean Returns if copy command was successful.

Parameters

Name Type Description
container OperationBase Container to copy targeted operation into.

Version

Introduced in version May 2024