CAMTemplate.createFromXML Method

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

Description

Creates a CAMTemplate from an XML string. Invalid template XML will produce errors

Syntax

This is a static method.

returnValue = adsk.cam.CAMTemplate.createFromXML(xml)
This is a static method.

#include <Cam/CAMTemplate/CAMTemplate.h>

returnValue = adsk::cam::CAMTemplate::createFromXML(xml);

Return Value

Type Description
CAMTemplate Returns the newly created template.

Parameters

Name Type Description
xml string The XML representation to act as a base for creating a template.

Version

Introduced in version April 2023