MachinePart.toolStation Property

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

Description

Get the tool station object for this part. Will return null if the part has no tool station assigned.

Syntax

"machinePart_var" is a variable referencing a MachinePart object.

# Get the value of the property.
propertyValue = machinePart_var.toolStation
"machinePart_var" is a variable referencing a MachinePart object.
#include <Cam/Machine/MachinePart.h>

// Get the value of the property.
Ptr<MachineToolStation> propertyValue = machinePart_var->toolStation();

Property Value

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

Version

Introduced in version July 2025