CAMTemplateOperationInput.toolPreset Property

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

Description

Optionally specify the preset of the tool. If no preset is specified, the operation gets its default feed and speed. The Tool provides access to available presets. Use one of those presets to override the default. An invalid preset will cause a failure during the creation of the operation.

Syntax

"cAMTemplateOperationInput_var" is a variable referencing a CAMTemplateOperationInput object.

# Get the value of the property.
propertyValue = cAMTemplateOperationInput_var.toolPreset

# Set the value of the property.
cAMTemplateOperationInput_var.toolPreset = propertyValue
"cAMTemplateOperationInput_var" is a variable referencing a CAMTemplateOperationInput object.
#include <Cam/CAMTemplate/CAMTemplateOperationInput.h>

// Get the value of the property.
Ptr<ToolPreset> propertyValue = cAMTemplateOperationInput_var->toolPreset();

// Set the value of the property, where value_var is a ToolPreset.
bool returnValue = cAMTemplateOperationInput_var->toolPreset(value_var);

Property Value

This is a read/write property whose value is a ToolPreset.

Version

Introduced in version March 2025