Tool.presets Property

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

Description

Gets the ToolPresets collection associated with this tool.

Syntax

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

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

Property Value

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

Samples

Name Description
Manufacturing Workflow API Sample

Manufacturing Workflow API Sample. This sample script starts by creating a simple component, which is then used to describe a milling workflow. It creates a setup and a few operations, picks tools from a Fusion sample tool library using loops and queries, and post-processes the operations using an NC program.

Version

Introduced in version April 2023