CAMFolder.createFromCAMTemplate2 Method

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

Description

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

Syntax

"cAMFolder_var" is a variable referencing a CAMFolder object.
returnValue = cAMFolder_var.createFromCAMTemplate2(input)
"cAMFolder_var" is a variable referencing a CAMFolder object.

#include <Cam/CAM/CAMFolder.h>

returnValue = cAMFolder_var->createFromCAMTemplate2(input);

Return Value

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

Parameters

Name Type Description
input CreateFromCAMTemplateInput Input object that contains the template to create from and the generation mode.

Version

Introduced in version October 2023