# Element Shared Coordinates Location

**URL:** <https://forum.dynamobim.com/t/element-shared-coordinates-location/5798>\
**Category:** Revit\
**Created:** [August 24, 2016, 10:01am UTC](https://forum.dynamobim.com/t/element-shared-coordinates-location/5798 "2016-08-24T10:01:29Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alisder\_Brown](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/alisder_brown/32/14995_2.png) [@Alisder\_Brown](https://forum.dynamobim.com/u/Alisder_Brown)\
**Post date:** [August 24, 2016, 10:01am UTC](https://forum.dynamobim.com/t/element-shared-coordinates-location/5798/1 "2016-08-24T10:01:29Z")

</div>

Hey All

Im trying to fetch the Shared coordinates location of my piles and write them into some custom parameters i made.  
Normally the Element.Location type nodes do the trick, but they dont seem to be in this case.  
I have a Structural project which is set up using Shared Coordinates (Survey point is at 0,0 and Base point is in a set location). When i use the normal methods of retrieving the elements location i am getting the coordinates from the base point, i do not want this, i want the coordinates from the Survey Point (same as the spot coordinates annotation)  
I have tried a few logic workarounds, adding the element.location onto the base point coordinates but this isn’t giving me what i am looking for.  
I have searched the forums etc but found nothing that solves my issue.  
Hopefully it is something obvious i am missing and someone can point me in the right direction.  
I’ve attached the definition ive made along with a cleaned up example Revit file.

The definition is numbering the Piles along a selected curve (the red line) and also getting the coordinates. It should be straight forward to understand  
.

Any help is appreciated.  
[Example Coordinates model.rvt](https://forum.dynamobim.com/uploads/short-url/ectQ4jeM6VRiMvPhp8jSuqJMPu9.rvt) (1.6 MB)  
[Example Coords Definition.dyn](https://forum.dynamobim.com/uploads/short-url/xuJS4xieq4ygUsD8olpG4RVTKoO.dyn) (29.3 KB)

---

<div class="post-metadata">

**Author:** ![Alisder\_Brown](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/alisder_brown/32/14995_2.png) [@Alisder\_Brown](https://forum.dynamobim.com/u/Alisder_Brown)\
**Post date:** [August 26, 2016, 3:08pm UTC](https://forum.dynamobim.com/t/element-shared-coordinates-location/5798/2 "2016-08-26T15:08:55Z")

</div>

Bumping back up 🙂

---

<div class="post-metadata">

**Author:** ![Vikram\_Subbaiah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vikram_subbaiah/32/50797_2.png) [@Vikram\_Subbaiah](https://forum.dynamobim.com/u/Vikram_Subbaiah)\
**Post date:** [August 28, 2016, 4:59am UTC](https://forum.dynamobim.com/t/element-shared-coordinates-location/5798/3 "2016-08-28T04:59:27Z")

</div>

@Alisder_Brown

> [@Alisder\_Brown](#):
>
> I have tried a few logic workarounds, adding the element.location onto the base point coordinates but this isn’t giving me what i am looking for.

This isn’t working as there is a rotation with respect to the True North. You will need to transform the Coordinate System.  
[Example Coords Definition-Vikram.dyn](https://forum.dynamobim.com/uploads/short-url/15aAJxiOQSQvdCyryjbDtWc8Qh7.dyn) (41.2 KB)

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/c/c02e4b68078603f3c1b49fe0f3dc039eaab095df.png)

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [August 28, 2016, 7:17am UTC](https://forum.dynamobim.com/t/element-shared-coordinates-location/5798/4 "2016-08-28T07:17:53Z")

</div>

Hi @Alisder_Brown

Here is another possible way.

![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/7/7eb43c9bc0b02a8527a49ee106273d9925730ffa.gif)

---

<div class="post-metadata">

**Author:** ![Alisder\_Brown](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/alisder_brown/32/14995_2.png) [@Alisder\_Brown](https://forum.dynamobim.com/u/Alisder_Brown)\
**Post date:** [August 30, 2016, 8:12am UTC](https://forum.dynamobim.com/t/element-shared-coordinates-location/5798/5 "2016-08-30T08:12:43Z")

</div>

@Vikram_Subbaiah to the rescue again!

This does the trick! Thank you very much 🙂  
I tried to get the points and rotate them round survey point to account for the Angle to true north but had no luck. Your way works perfectly.

Very much appreciated

---

<div class="post-metadata">

**Author:** ![Renzoj14](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/renzoj14/32/49196_2.png) [@Renzoj14](https://forum.dynamobim.com/u/Renzoj14)\
**Post date:** [December 9, 2016, 11:41am UTC](https://forum.dynamobim.com/t/element-shared-coordinates-location/5798/6 "2016-12-09T11:41:39Z")

</div>

Extra thanks from me Vikram\_Subbaiah!

---

<div class="post-metadata">

**Author:** ![Renzoj14](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/renzoj14/32/49196_2.png) [@Renzoj14](https://forum.dynamobim.com/u/Renzoj14)\
**Post date:** [December 9, 2016, 2:44pm UTC](https://forum.dynamobim.com/t/element-shared-coordinates-location/5798/7 "2016-12-09T14:44:13Z")

</div>

what would be the process if you wanted to use the Element.SetLocation node? I have an Excel file with as built E and N coordinates and thus the location of the piles need to updated.

Thanks

---

<div class="post-metadata">

**Author:** ![redk1203](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/redk1203/32/21711_2.png) [@redk1203](https://forum.dynamobim.com/u/redk1203)\
**Post date:** [April 10, 2018, 3:16pm UTC](https://forum.dynamobim.com/t/element-shared-coordinates-location/5798/8 "2018-04-10T15:16:33Z")

</div>

Thanks!

---

<div class="post-metadata">

**Author:** ![Keith\_Wilkinson1](https://avatars.discourse-cdn.com/v4/letter/k/5f8ce5/32.png) [@Keith\_Wilkinson1](https://forum.dynamobim.com/u/Keith_Wilkinson1)\
**Post date:** [April 17, 2018, 2:27pm UTC](https://forum.dynamobim.com/t/element-shared-coordinates-location/5798/9 "2018-04-17T14:27:00Z")

</div>

Sorry to necro this thread - Vikram, does this translation only work if the project base point is located at the origin? I’m trying to report some key coordinates to excel but I can only make this work accurately if PBP is at the startup location…

For reference I’m trying to convert dynamo model coordinates to survey coordinates - in essence I want to get the survey coordinates of the model origin regardless of the location of the PBP.

---

<div class="post-metadata">

**Author:** ![Vikram\_Subbaiah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vikram_subbaiah/32/50797_2.png) [@Vikram\_Subbaiah](https://forum.dynamobim.com/u/Vikram_Subbaiah)\
**Post date:** [April 20, 2018, 1:10pm UTC](https://forum.dynamobim.com/t/element-shared-coordinates-location/5798/10 "2018-04-20T13:10:37Z")

</div>

> [@Keith\_Wilkinson1](#):
>
> does this translation only work if the project base point is located at the origin?

Don’t completely recollect the logic behind the workflow I’ve provided above, but you could try replacing _CoordinateSystem.Identity_ with a Coordinate System that corresponds your Project Base Point.

---

<div class="post-metadata">

**Author:** ![Keith\_Wilkinson1](https://avatars.discourse-cdn.com/v4/letter/k/5f8ce5/32.png) [@Keith\_Wilkinson1](https://forum.dynamobim.com/u/Keith_Wilkinson1)\
**Post date:** [April 21, 2018, 12:54pm UTC](https://forum.dynamobim.com/t/element-shared-coordinates-location/5798/11 "2018-04-21T12:54:17Z")

</div>

Hi Vikram,

Using what you had plus a post over on linkedin I think I’m there. As an exercise I have to say I’ve found this a lot more tricky than what I thought it would be!!

[Model Origin Survey Coordinates.dyn](https://forum.dynamobim.com/uploads/short-url/1ww11gfr9l6QJne4oPosebEYuMN.dyn) (17.5 KB)

 ![Model%20Origin%20Survey%20Coordinates](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/b/cb683a8893aadfe6e398566c174fc863a890c415.png)

---

<div class="post-metadata">

**Author:** ![simoneavellini](https://avatars.discourse-cdn.com/v4/letter/s/ee7513/32.png) [@simoneavellini](https://forum.dynamobim.com/u/simoneavellini)\
**Post date:** [December 16, 2019, 5:08pm UTC](https://forum.dynamobim.com/t/element-shared-coordinates-location/5798/12 "2019-12-16T17:08:48Z")

</div>

I know this over 1 year ago, but I gave it a try and if I use 0,0,0 I get the shared coordinates of the Project base Point not of the Project Origin…  
Any idea why?

---

<div class="post-metadata">

**Author:** ![Keith\_Wilkinson1](https://avatars.discourse-cdn.com/v4/letter/k/5f8ce5/32.png) [@Keith\_Wilkinson1](https://forum.dynamobim.com/u/Keith_Wilkinson1)\
**Post date:** [December 17, 2019, 9:13am UTC](https://forum.dynamobim.com/t/element-shared-coordinates-location/5798/13 "2019-12-17T09:13:36Z")

</div>

From memory you should. Dynamo by default reports the coordinates of any element relative to the project origin so you don’t need to convert to that. There’s another thread I started about this here which might help;

> [@Converting from Model Coordinates to Shared Coordinates](https://forum.dynamobim.com/t/converting-from-model-coordinates-to-shared-coordinates/21411):
>
> For once I’m not looking for help but thought this might be helpful for others… I’ve been working on this for a little while, I kept thinking I’d got there only to try it on another model and end up with the wrong values… I think though I’m finally there. It’s been a good exercise for me in understanding how this process works. Anyway I thought I’d post this here in case anyone is trying to do the same. The key to this is knowing the location of a point in both model coordinates and shared …

---

<div class="post-metadata">

**Author:** ![AKHarikrishnan](https://avatars.discourse-cdn.com/v4/letter/a/e47c2d/32.png) [@AKHarikrishnan](https://forum.dynamobim.com/u/AKHarikrishnan)\
**Post date:** [January 30, 2020, 1:53pm UTC](https://forum.dynamobim.com/t/element-shared-coordinates-location/5798/14 "2020-01-30T13:53:59Z")

</div>

Thank you so much!

---

<div class="post-metadata">

**Author:** ![vickykurlem](https://avatars.discourse-cdn.com/v4/letter/v/c5a1d2/32.png) [@vickykurlem](https://forum.dynamobim.com/u/vickykurlem)\
**Post date:** [March 17, 2021, 11:11am UTC](https://forum.dynamobim.com/t/element-shared-coordinates-location/5798/15 "2021-03-17T11:11:01Z")

</div>

hey , i was trying to use this script to my model and not having the results i expected…any clue?

---

<div class="post-metadata">

**Author:** ![Keith\_Wilkinson1](https://avatars.discourse-cdn.com/v4/letter/k/5f8ce5/32.png) [@Keith\_Wilkinson1](https://forum.dynamobim.com/u/Keith_Wilkinson1)\
**Post date:** [March 17, 2021, 11:32am UTC](https://forum.dynamobim.com/t/element-shared-coordinates-location/5798/16 "2021-03-17T11:32:08Z")

</div>

Might need a bit more info…

I made a more involved script available over on LinkedIn along with a bit of background - maybe worth trying that?

> **[Revit Coordinate Extraction and Tekla Coordination.](https://www.linkedin.com/pulse/revit-coordinate-extraction-tekla-coordination-keith-wilkinson/)**
>
> Back in 2018, I wrote an article about how to get an IFC out of Tekla that would coordinate correctly with Revit that you can find here: Coordinating between Revit and Tekla using IFC. That article defines the principles that are used within the...

---

<div class="post-metadata">

**Author:** ![vickykurlem](https://avatars.discourse-cdn.com/v4/letter/v/c5a1d2/32.png) [@vickykurlem](https://forum.dynamobim.com/u/vickykurlem)\
**Post date:** [March 17, 2021, 11:44am UTC](https://forum.dynamobim.com/t/element-shared-coordinates-location/5798/17 "2021-03-17T11:44:11Z")

</div>

so… this base point you are talking about is not in revit?

---

<div class="post-metadata">

**Author:** ![Keith\_Wilkinson1](https://avatars.discourse-cdn.com/v4/letter/k/5f8ce5/32.png) [@Keith\_Wilkinson1](https://forum.dynamobim.com/u/Keith_Wilkinson1)\
**Post date:** [March 17, 2021, 11:55am UTC](https://forum.dynamobim.com/t/element-shared-coordinates-location/5798/18 "2021-03-17T11:55:58Z")

</div>

The article is mostly about getting Tekla IFC exports to align in Revit but the script pulls out every base point and related values.

---

<div class="post-metadata">

**Author:** ![vickykurlem](https://avatars.discourse-cdn.com/v4/letter/v/c5a1d2/32.png) [@vickykurlem](https://forum.dynamobim.com/u/vickykurlem)\
**Post date:** [March 17, 2021, 12:00pm UTC](https://forum.dynamobim.com/t/element-shared-coordinates-location/5798/19 "2021-03-17T12:00:44Z")

</div>

so you think that only using dynamo is not possible?

---

<div class="post-metadata">

**Author:** ![Keith\_Wilkinson1](https://avatars.discourse-cdn.com/v4/letter/k/5f8ce5/32.png) [@Keith\_Wilkinson1](https://forum.dynamobim.com/u/Keith_Wilkinson1)\
**Post date:** [March 17, 2021, 12:23pm UTC](https://forum.dynamobim.com/t/element-shared-coordinates-location/5798/20 "2021-03-17T12:23:01Z")

</div>

Sorry, I don’t follow…

The dynamo script linked in the article is designed to pull all the coordinate data from a model - it then exports it to Excel to make that easy to understand but everything you want to do will be in that script but you’ll need to unpick it to get exactly what you need.

I don’t know what your end goal is or indeed any part of your goal so I can’t really add anything else… sorry…
