CAMPattern.createFromTemplateXML Method

Parent Object: CAMPattern
Defined in namespace "adsk::cam" and the header file is <Cam/CAM/CAMPattern.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 content XML to the end of this folder.

Remarks

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

Syntax

"cAMPattern_var" is a variable referencing a CAMPattern object.
returnValue = cAMPattern_var.createFromTemplateXML(templateXML)
"cAMPattern_var" is a variable referencing a CAMPattern object.

#include <Cam/CAM/CAMPattern.h>

returnValue = cAMPattern_var->createFromTemplateXML(templateXML);

Return Value

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

Parameters

Name Type Description
templateXML string The full XML content of the template.

Version

Introduced in version April 2023
Retired in version July 2024