MachinePart.id Property
Parent Object:
MachinePartDefined 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
|
"machinePart_var" is a variable referencing a MachinePart object.
#include <Cam/Machine/MachinePart.h>
// Get the value of the property. string propertyValue = machinePart_var->id();
|
Property Value
This is a read only property whose value is a string.
Version
Introduced in version April 2023