MachinePart.partType Property

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

Description

Get the type of this part.

Syntax

"machinePart_var" is a variable referencing a MachinePart object.

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

// Get the value of the property.
MachinePartTypes propertyValue = machinePart_var->partType();

Property Value

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

Version

Introduced in version April 2023