CAMTemplateOperations.set Method

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

Description

Set the element at the given index.

Syntax

"cAMTemplateOperations_var" is a variable referencing a CAMTemplateOperations object.
returnValue = cAMTemplateOperations_var.set(operationIndex, input)
"cAMTemplateOperations_var" is a variable referencing a CAMTemplateOperations object.

#include <Cam/CAMTemplate/CAMTemplateOperations.h>

returnValue = cAMTemplateOperations_var->set(operationIndex, input);

Parameters

Name Type Description
operationIndex integer Index of the element to overwrite
input CAMTemplateOperationInput The element will be overwritten with a copy of this element. Must come from get() or makeInput().

Version

Introduced in version March 2025