I’m having an issue within Dynamo. I’ve linked a MEP model to a Structural model. I’ve linked them by Shared Coordinates.
I’ve used “Categories” and “Element.Geometry” nodes in order to represent the geometry of the structural elements. And that’s fine.
But when I asked to Dynamo to show me the MEP elements by using “Get Documents”, “Element.GetFromLinkedFile” and “Element.Geometry” nodes, the MEP elements are not aligned with the structural model.
I think that Dynamo doesn’t understand that my models are linked by shared coordinates…
Do you have any idea about solving this issue? Does it have to be linked “Origin to Origin” to make it work? Do I need to create a process which will translate all the MEP elements to make them aligned with the structural model?
So this is what I have when I link the MEP mnodel to the structural model.
This is what I do within Dynamo: I distinguish the rectangular from the round ducts of my linked model and I ask to Dynamo to show me the geometry of these elements (orange elements).
But as you can see, the MEP elements seem to be translated (or moved) on the left (see the red arrow on the second picture).
And what I was saying is that, when I was doing a link Origin to Origin, my MEP model was translated from the structural model as it is for the Dynamo geometry of my MEP elements. But when I do a Shared coordinates link, my models are perfectly aligned (as you can see on the 1st picture) but the Dynamo geometries are still translated or moved… It’s like Dynamo wasn’t understanding that my linked document is linked by shared coordinates.
With Dynamo, is there a way to obtain the shared coordinates of a link, and then apply them to the host model prior to inserting the link into host model? I’m assuming doing this may resolve the following error, yes/no?
My goal is to have a graph that can recognize if a link is using shared coordinates and use the LinkModel.SharedCoordinates node to insert the link, but if the link is not using shared coordinates it would use the LinkModel.OriginToOrigin node instead.