Share

MachinePart.id Property

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

Description

Get the internal ID of the part. This is unique with respect to other MachineParts in the Machine.

Syntax

"machinePart_var" is a variable referencing a MachinePart object.

# Get the value of the property.
propertyValue = machinePart_var.id

Property Value

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

Version

Introduced in version April 2023

Was this information helpful?