Common#

Value with unit#

class ValueWithUnit(value, unit)#

Describes a value obtained from the API.

Added in version 2.0.

property unit: str#

Unit of the value.

property value: float#

Real number.

Record references#

See Record identification for more information about populated properties on record reference objects.

class PartReference(reference_type, reference_value)#

Represents a reference to a Part record.

This class extends the base class to also support part numbers.

property record_history_identity: int | None#

Record history identity.

property record_history_guid: str | None#

Record history GUID.

property record_guid: str | None#

Record GUID.

property part_number: str | None#

Part number.

class MaterialReference(reference_type, reference_value)#

Represents a reference to a Material record.

This class extends the base class to also support material IDs.

property record_history_identity: int | None#

Record history identity.

property record_history_guid: str | None#

Record history GUID.

property record_guid: str | None#

Record GUID.

property material_id: str | None#

Material ID.

class ProcessReference(reference_type, reference_value)#

Represents a reference to a Process record.

Added in version 2.0.

property record_history_identity: int | None#

Record history identity.

property record_history_guid: str | None#

Record history GUID.

property record_guid: str | None#

Record GUID.

class TransportReference(reference_type, reference_value)#

Represents a reference to a Transport record.

Added in version 2.0.

property record_history_identity: int | None#

Record history identity.

property record_history_guid: str | None#

Record history GUID.

property record_guid: str | None#

Record GUID.