Im trying to fetch the Shared coordinates location of my piles and write them into some custom parameters i made.
Normally the Element.Location type nodes do the trick, but they dont seem to be in this case.
I have a Structural project which is set up using Shared Coordinates (Survey point is at 0,0 and Base point is in a set location). When i use the normal methods of retrieving the elements location i am getting the coordinates from the base point, i do not want this, i want the coordinates from the Survey Point (same as the spot coordinates annotation)
I have tried a few logic workarounds, adding the element.location onto the base point coordinates but this isn’t giving me what i am looking for.
I have searched the forums etc but found nothing that solves my issue.
Hopefully it is something obvious i am missing and someone can point me in the right direction.
I’ve attached the definition ive made along with a cleaned up example Revit file.
The definition is numbering the Piles along a selected curve (the red line) and also getting the coordinates. It should be straight forward to understand
Sorry to necro this thread - Vikram, does this translation only work if the project base point is located at the origin? I’m trying to report some key coordinates to excel but I can only make this work accurately if PBP is at the startup location…
For reference I’m trying to convert dynamo model coordinates to survey coordinates - in essence I want to get the survey coordinates of the model origin regardless of the location of the PBP.
From memory you should. Dynamo by default reports the coordinates of any element relative to the project origin so you don’t need to convert to that. There’s another thread I started about this here which might help;
The dynamo script linked in the article is designed to pull all the coordinate data from a model - it then exports it to Excel to make that easy to understand but everything you want to do will be in that script but you’ll need to unpick it to get exactly what you need.
I don’t know what your end goal is or indeed any part of your goal so I can’t really add anything else… sorry…