Move and align links using Grid intersection

Hi All,

I want to move a linked revit model to align with the master model using grid intersections. I have created a script that is able extract the grid intersections from both models but I cannot find any node or method to align the two models by the grid intersections.

Please let me know if there is a way to do this.

i often see people setup shared coordinates among revit models, so once being linked, they show up at the expected position.

1 Like

Yes, I know but the model was originally in IFC format, loaded in Revit and saved in RVT, so I want align this new model to master model and apply the coordinates to the new model.

I would recommend building a workflow around this logic:

  1. Select two primary axis and two secondary axis grids in the active document which form a box intersection, and a link instance.
  2. Get the grids from the link instance.
  3. Find the grids in the link instance as was selected in the active document.
  4. Extract the grid curves from the selected grids in the active document and intersect them with each each other. This will result in four points, ordered by Primary1-Secondary1; Primary1-Secondary2; Primary2-Secondary1; Primary2-Secondary2.
  5. Build a coordinate using the points Primary1-Secondary1 Primary1-Secondary2 and Primary2-Secondary1.
  6. Get the grid curves from the grids in the linked document and intersect them with each each other. This will again result in four points, ordered by Primary1-Secondary1; Primary1-Secondary2; Primary2-Secondary1; Primary2-Secondary2.
  7. Build a coordinate system from the points Primary1-Secondary1 Primary1-Secondary2 and Primary2-Secondary1.
  8. transform the link instance from it’s grid-intersection coordinates to the host model’s grid intersection coordinates.