Skip to content

Diffing_Engine: review the structure/organisation of the identifiers #8

@alelom

Description

@alelom
Category
Persistent The id is a GUID generated upon object creation. If the object is modified, this id is transferred to the new instance of the object.
Instance if any property of the object changes, the id changes.
Name Type (Persistent or instance) Example Description
External Id (or "Adapter Id") (Depends on software) A number The id assigned to the object by the external software. This may or may not be unique per se (e.g. could be unique within a certain category, but not in absolute sense). Example: in robot, a bar is assigned a progressive number starting from 1; nodes too.
Instance External Id Instance a guid or hash An id assigned to the object by the external software that is unique for that object and its defining properties. The object, if modified, will get a different id of this type. Example: in Robot, this can be obtained by the combination of the object Type (e.g. Robot.Bar) with its External Id (e.g. `1).
Persistent External Id Persistent a guid An id assigned to the object by the external software that is unique for that object. Persistent = remains the same if the object is modified; it is generated only once upon object creation. Example: in Revit, the UniqueId.
BHoM Guid Persistent a guid The BHoM Guid is generated once upon object instantiation. If the object is modified, the Guid is transferred to the new object.
BHoM Hash Instance a hash An id that uniquely identifies an object with all its properties set to a certain value. If any property is modified, this id changes.

Metadata

Metadata

Assignees

Labels

type:questionAsk for further details or start conversation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions