CAMTemplate.save Method

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

Description

Save the CAMTemplate to a file

Syntax

"cAMTemplate_var" is a variable referencing a CAMTemplate object.
returnValue = cAMTemplate_var.save(filePath)
"cAMTemplate_var" is a variable referencing a CAMTemplate object.

#include <Cam/CAMTemplate/CAMTemplate.h>

returnValue = cAMTemplate_var->save(filePath);

Return Value

Type Description
boolean Returns true if the template was saved successfully, false otherwise.

Parameters

Name Type Description
filePath string The path to the file you wish to save

Version

Introduced in version April 2023