Creating a point at a given coordinate relative to survey point coordinates

creating a point at survey point coordinates.dyn (54.9 KB)

Hi All,

I have a point from a survey that I need to locate on my project. I don’t know a way in revit of creating a point or a line with specific start point at certain coordinates. So I tried in dynamobim but can’t get it to work either.

Anyone see where I might be going wrong.

My revit project is set up correctly with PBP at 0,0,0 and survey point at a OS station marker.

Hi @simon_murphy1

?

Hi @simon_murphy1,

You have to be wary about how you do this. The Revit coordinate system can be quite complicated depending on how the project was set up. Let me explain…

Revit has three points of interest and a rotation…

  • Project Base Point
  • Survey Point
  • and the illusive Internal Origin Point
  • Rotation

How the project coordinates have been set up is very important to how Dynamo places geometry. For example, Unclipping while setting coordinates changes everything.

Generally speaking, when you move your Project Base Point or Specify Coordinates At Point (Clipped) this doesn’t actually move the Project Base point, it actually moves the Survey Point but gives the Project Base Point and Internal Origin Point the coordinates you specified. When placing points in Dynamo your Project Base Point will be used as 0,0,0. So, when placing points using actual coordinate values you need to move the geometry by the Vector (0,0,0 - ProjectBase Point X,Y, Z) so that is (0 - Pt.x, 0 - Pt.y, 0 - Pt.z). I hope this is making sense, we haven’t even got to rotation! :stuck_out_tongue_winking_eye:.

Rotation is similar, you need to rotate the opposite way, so if there’s a positive rotation you need to multiply by -1 and use your Project Base point for point of rotation.

I won’t go into unclipped Base Points. Instead, I have attached something I wrote ages ago to help in understanding how this all works (sort of). It basically gets all 3 points, which you can use to visualise what is happening (and also use the output to do some geometry transformations later by using vector.By2Points and rotate). I would play around with a sandbox project and mess with your Basepoints and see what happens, this will help you understand more about how this all works.

ProjectLocation.dyn (11.3 KB)

Hope this helps.

Cheers,
Dan

7 Likes

Hi Dan,

Thanks for the reply. I think I have got something that works.

I needed to find specific point in survey space for setting out an arc that the building wanted to add. There didn’t seem to be a way in revit to do it without moving the survey point which I didn’t want to do because of shared coordinates.

finding a point in survey space # FINAL.dyn (24.4 KB)

Sometimes it seems the survey point node returns its CS origin and sometimes it returns its current position.

In the case the above doesn’t work this one should work.

finding a point in survey space # FINAL - with cyclinder.dyn (38.6 KB)

2 Likes

Updated version. The survey point marker should be unclipped and moved to 0 0 coordinates for this to work.

putting stuff at survey point coordinates.dyn (35.2 KB)

Thanks mate