Machine.id Property

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

Description

Gets the unique identifier of the machine. Can be used for comparing machines within the document.

Syntax

"machine_var" is a variable referencing a Machine object.

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

// Get the value of the property.
string propertyValue = machine_var->id();

Property Value

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

Version

Introduced in version April 2023