# Comparison of methods for extracting element coordinates X Y Z

**URL:** <https://forum.dynamobim.com/t/comparison-of-methods-for-extracting-element-coordinates-x-y-z/100868>\
**Category:** Revit\
**Tags:** dynamo\
**Created:** [May 10, 2024, 9:10am UTC](https://forum.dynamobim.com/t/comparison-of-methods-for-extracting-element-coordinates-x-y-z/100868 "2024-05-10T09:10:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ederbel](https://avatars.discourse-cdn.com/v4/letter/e/848f3c/32.png) [@ederbel](https://forum.dynamobim.com/u/ederbel)\
**Post date:** [May 10, 2024, 9:10am UTC](https://forum.dynamobim.com/t/comparison-of-methods-for-extracting-element-coordinates-x-y-z/100868/1 "2024-05-10T09:10:25Z")

</div>

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](https://forum.dynamobim.com/uploads/short-url/pxVbKalwdSKYCkXSfTxN1nOQicF.jpeg)  
[Method 1.dyn](https://forum.dynamobim.com/uploads/short-url/nstxXot3i6Ex4kMtX50peCRuu6m.dyn) (23.0 KB)  
[Method 2.dyn](https://forum.dynamobim.com/uploads/short-url/zjNrM0nZA25674e2ENh7V7LTKCU.dyn) (83.1 KB)
