Tool.attributes Property

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

Description

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

Syntax

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

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

Property Value

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

Version

Introduced in version July 2026