CAM.generateTemplateXML Method

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

Description

Generates a template for the specified Operations, Setups, or Folders and returns the template as an XML string.

Syntax

"cAM_var" is a variable referencing a CAM object.
returnValue = cAM_var.generateTemplateXML(operations)
"cAM_var" is a variable referencing a CAM object.

#include <Cam/CAM/CAM.h>

returnValue = cAM_var->generateTemplateXML(operations);

Return Value

Type Description
string Returns the template XML as a string.

Parameters

Name Type Description
operations Base An Operation, Setup or Folder object from which to generate the template. You can also specify a collection of any combination of these object types.

Version

Introduced in version April 2023