Coordinates origin inserting UTM coordinates from dynamo to Revit

Hi all!
I’m trying to draw some elements using their XYZ(start point and final point) coordinates.
I’m working in a project with UTM COORDINATES, and I’m having problems making revit draw the elements near my project.

  • I’ve noticed that revit draws the beams taking the basepoint as origin. It’s possible to change this and use the survey point as origin? All elements in my project need to be named from the survey point.

Note that my basepoint it’s near my structure, but the survey point its very far. I’ve change the option in “geometry work range” to very big.

1 Like

I think one easy way to tackle this is to find the difference between BasePoint (bp) and SurveyPoint(sp) (Xdiff, Ydiff, Zdiff) and apply the difference to the start and endpoints for the elements you want to draw. Basically:
Xdiff = Xsp - Xbp
Ydiff = Ysp - Ybp
Zdiff = Zsp -Zbp

and use them like this:
New_start_point = XYZ(Xold + Xdiff, Yold + Ydiff, Zold+Zdiff)

Or similarly, create vectors and translate geometries.

2 Likes