Skip to content

BHoM vs Revit identity

Pawel Baran edited this page Jun 26, 2020 · 10 revisions

Exchange of information between Revit and BHoM often requires linking the objects from both sides with each other, e.g. when querying the model for changes or updating it. The mutual relationship is being created and maintained as follows:

  • On Pull, the identifiers of pulled Revit element are stored in RevitIdentifiers fragment attached to the resultant BHoM object.
  • On Push, Revit element is being considered correspondent to a BHoM object when the latter contains a RevitIdentifiers fragment with value of ElementId property equal to the ElementId of the former.

Additionally, tags can be assigned to Revit elements on Push and BHoM objects on Pull, which can mark them as related to a particular Adapter action.

Clone this wiki locally