Comparison of methods for extracting element coordinates X Y Z

Hello,

I’ve developed two different scripts to extract the X, Y, and Z coordinates of elements in my project. These scripts take into account both the coordinates of base points and topographic points.

However, I have noticed that the results obtained with these two methods differ.

One of the scripts (Method 1) uses the Genius Loci node, while the other (Method 2) is obtained from the Autodesk website.

To help you better understand, I have attached the scripts along with a photo of the results obtained in Revit with each method.

Method 1 - Method 2|584x422
Method 1.dyn (23.0 KB)
Method 2.dyn (83.1 KB)