MachineElement.elementId Property

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

Description

Identifier for this element. Unique within an element type.

Syntax

"machineElement_var" is a variable referencing a MachineElement object.

# Get the value of the property.
propertyValue = machineElement_var.elementId
"machineElement_var" is a variable referencing a MachineElement object.
#include <Cam/Machine/MachineElement.h>

// Get the value of the property.
string propertyValue = machineElement_var->elementId();

Property Value

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

Version

Introduced in version April 2023