Setup.createFromCAMTemplate Method

Parent Object: Setup
Defined in namespace "adsk::cam" and the header file is <Cam/CAM/Setup.h>

Description

This function is retired. See more information in the 'Remarks' section below.

Create new operations, folders, or patterns from the specified CAMTemplate. They are added to the end of the parent setup.

Syntax

"setup_var" is a variable referencing a Setup object.
returnValue = setup_var.createFromCAMTemplate(camTemplate)
"setup_var" is a variable referencing a Setup object.

#include <Cam/CAM/Setup.h>

returnValue = setup_var->createFromCAMTemplate(camTemplate);

Return Value

Type Description
OperationBase[] Returns an array containing all of the operations, folders and patterns created from the template.

Parameters

Name Type Description
camTemplate CAMTemplate The CAMTemplate object to use to create the new operation, folder, or pattern.

Version

Introduced in version April 2023
Retired in version October 2023