ToolBlock.presets Property

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

Description

Gets the ToolPresets collection associated with this tool.

Syntax

"toolBlock_var" is a variable referencing a ToolBlock object.
# Get the value of the property.
propertyValue = toolBlock_var.presets
"toolBlock_var" Is a variable referencing a ToolBlock Object.
#include <Cam/Tools/ToolBlock.h>

// Get the value of the property.
Ptr<ToolPresets> propertyValue = toolBlock_var->presets();
"toolBlock_var" Is a variable referencing a ToolBlock Object.
// Get the value of the property.
propertyValue = toolBlock_var.presets;

Property Value

This is a read only property whose value is a ToolPresets.

Version

Introduced in version April 2026