Setup.createFromTemplateXML 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 content XML to the end of this setup.

Syntax

"setup_var" is a variable referencing a Setup object.
returnValue = setup_var.createFromTemplateXML(templateXML)
"setup_var" is a variable referencing a Setup object.

#include <Cam/CAM/Setup.h>

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