ToolPreset.attributes Property

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

Description

Returns the collection of attributes associated with this preset. Attributes are arbitrary key-value pairs organized into groups that can be used to store custom metadata on a preset.

Syntax

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

// Get the value of the property.
Attributes propertyValue = toolPreset_var->attributes();
"toolPreset_var" Is a variable referencing a ToolPreset Object.
// Get the value of the property.
propertyValue = toolPreset_var.attributes;

Property Value

This is a read only property whose value is an Attributes.

Version

Introduced in version July 2026