I’ve started a script that grabs spot elevations so I can grab it’s location to get the X, Y, and Z location.
How do I convert this to a match the formatting in Revit?
In the script it looks like the X point looks similar to the N point.
X = 1851108.73026596
N = 1,850,777’-2 3/8"
If I am understanding your question, here are my thoughts and $0.02 worth of knowledge.
Northing is your Y axis
Easting is your X axis
Elevation is your Z axis
We have simple parameters setup and a dynamo script to write to those parameters. Then you just need to place them in a schedule to see them. Our parameters are named something like “X (Easting) Coordinate”, “Y (Easting) Coordinate”, “Z (Elevation) Coordinate”.
Yeah, I understand what each axis is and I’m familiar with populating a parameter.
What I was needing help with was converting the decimals that Dynamo is providing and turning them into the feet and inches that is shown in my Revit screenshot.
That being said, I don’t think my points I’m getting are accurate. My attempt was to grab the Spot Coordination marker and grab the X,Y, and Z from that. It seemed logical if it worked since each of those is located where we would like to get these points.
Upon further investigation it appears that when I shift the numbers around the points change, so clearly it’s not providing the location of the point it’s pointing to.
So still trying to figure out the best method. The only other option that came to mind was to grab the wall itself and get it’s coordinates and use those as my d ata.
These are just two different coordinate systems. Dynamo typically uses the internal Revit coordinate system and your spot elevations use either the Project Base Point coordinate system or Survey Point coordinate system (shared coordinates). The coordinate system used by the spot elevations is defined by a type parameter.
Once you know which coordinate system is displayed, you know how to translate your coordinates between systems.