MachineItem.part Property

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

Description

The machine part.

Syntax

"machineItem_var" is a variable referencing a MachineItem object.

# Get the value of the property.
propertyValue = machineItem_var.part
"machineItem_var" is a variable referencing a MachineItem object.
#include <Cam/Machine/MachineItem.h>

// Get the value of the property.
Ptr<MachinePart> propertyValue = machineItem_var->part();

Property Value

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

Version

Introduced in version September 2025