CAMFolder.createFromTemplate Method

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

Description

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

Creates and adds operations, folders or patterns from the specified template file to the end of this folder.

Syntax

"cAMFolder_var" is a variable referencing a CAMFolder object.
returnValue = cAMFolder_var.createFromTemplate(templateFilePath)
"cAMFolder_var" is a variable referencing a CAMFolder object.

#include <Cam/CAM/CAMFolder.h>

returnValue = cAMFolder_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 October 2023