Setup.createFromTemplate 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 and add operations, folders or patterns from the specified template file to the end of this setup.

Remarks

This property has been retired. Please use createFromCAMTemplate2 in conjunction with a CreateFromCAMTemplateInput to create operations from a template file.

Syntax

"setup_var" is a variable referencing a Setup object.
returnValue = setup_var.createFromTemplate(templateFilePath)
"setup_var" is a variable referencing a Setup object.

#include <Cam/CAM/Setup.h>

returnValue = setup_var->createFromTemplate(templateFilePath);

Return Value

Type Description
ObjectCollection Returns the collection containing all of the operations, folders and patterns created from the template file.

Parameters

Name Type Description
templateFilePath string The full path to the template file.

Version

Introduced in version September 2020
Retired in version July 2024