Just wondering how to adjust the coordinates from linked models?
They seem to use project base point for site and building model, therefore they are off.
What can I do to realign?
Cheers
Would you mind clarifying the example shared here? Seems like you have the same geometry in Revit and Rhino windows
Thanks Ehsan. Sure.
On the left is a Revit site model with a building file linked in.
The building model is actually located on the toposurface, but when I reference that linked models mass, the preview is obviously lower. It seems as though it is reading the project base point location of both models.
Do i need to somehow specify the shared link coordinates?
@bradshales See the attached example. Iâm using a python component to grab the total transformation of the linked instance and apply it to the extracted geometry in GH
Correct Link Location.zip (627.4 KB)
It can be extended to grab rotation as well
Thanks so much.
It seems to work well with your example, but falls apart with mine.
I canât seem to get it to function. Any ideas on why?
RIShadows.zip (17.7 MB)
Okay updated the script to do unit system conversion between Rhino and Revit doc units. Added function below to the script:
def convert(val):
return val * Rhino.RhinoMath.UnitScale(Rhino.UnitSystem.Feet, rdoc.ModelUnitSystem)
You would also need to r-click on the âGraphical Elementâ component and select the linked model instance.
RIShadows.zip (17.7 MB)
You can always modify the definition and apply a rotation transformation as well based on your north angle
Will do.
Thanks for your help.
Hi @eirannejad,
Can the active Rhino model be set to reference Revitâs True North (opposed to Project North)?
Or, can we get the Project Base Point information somehow to help apply a transformation?
Using âProject Locationâ you can extract the Shared Coordinates System as a plane and using the Grasshopper âOrientâ component you can transform the geometry.
Seems similar to this other topic.
We have added this context menu option to set the current Rhino viewport CPlane at the same place and oriented like the selected Revit element Coordinate System.
In the screenshot the âSurvey Pointâ. You can also do the same with the Shared Site witch is the origin of the Shared Coordinates System.
Also works with other elements like a Linked Model, Revit Levels or Revit Reference Planes.
How do I get the instance location of linked elements vs the internal location of the linked file?
You are going to have to use the Orient Component to Transform the xy to the transformed links locations.
A dummy question added to this thread. Is the Revit Internal Origin always 0,0,0 and is it always aligned with Rhinoâs world 0,0,0?
Coordinates can be confusing, best to go to the Autodesk documentation for a concise and thorough explanation. About the Internal Origin | Revit 2020 | Autodesk Knowledge Network
Thanks Japhy.
Based on their website Revitâs Internal Origin never moves. So I assume that it is the same for Rhinoâs world 0,0,0. Correct me if I am wrong, in Rhino, I can reassign CPlanes, but it doesnât change the absolute position of how an object is related to the world 0,0,0 in the background.
When I bake some thing between those the coordinates of Revit and Rhino, by default, they are sharing the same model space and using Rhino World 0,0,0/Internal Origin as the coordination point.
The origin never moves but it can be assigned a different project base point/shared site or be linked and rotated.
Yes, Rhino (0,0,0) canât move and Revit Internal Origin canât move.
This is why Rhino.Inside.Revit works on this coordinate system.