# Insert object with dynamo into the right project location

**URL:** <https://forum.dynamobim.com/t/insert-object-with-dynamo-into-the-right-project-location/29838>\
**Category:** Revit\
**Tags:** dynamo\
**Created:** [December 18, 2018, 9:23am UTC](https://forum.dynamobim.com/t/insert-object-with-dynamo-into-the-right-project-location/29838 "2018-12-18T09:23:28Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![TonyTowers](https://avatars.discourse-cdn.com/v4/letter/t/e5b9ba/32.png) [@TonyTowers](https://forum.dynamobim.com/u/TonyTowers)\
**Post date:** [December 18, 2018, 9:23am UTC](https://forum.dynamobim.com/t/insert-object-with-dynamo-into-the-right-project-location/29838/1 "2018-12-18T09:23:28Z")

</div>

Hello all,

I created a script which insert object ins specific x,y,z (came from Navis). the issue is that the project has a project coordinates, (not 0,0,0) with a specific north (not true north). this issue creates that my object are allocated in different position to my project, I manage to get the correct level by subtracting the project coordinates but i can´t get the right orientation

 ![4BB76D27](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/2/92028827157e5142b642b4719e9c30fdd240b1c9.png) .

Any help?  
Regards

---

<div class="post-metadata">

**Author:** ![kennyb6](https://avatars.discourse-cdn.com/v4/letter/k/7ba0ec/32.png) [@kennyb6](https://forum.dynamobim.com/u/kennyb6)\
**Post date:** [December 18, 2018, 9:29am UTC](https://forum.dynamobim.com/t/insert-object-with-dynamo-into-the-right-project-location/29838/2 "2018-12-18T09:29:59Z")

</div>

Look into creating a coordinate system using the project base point as it’s origin, rotated to the angle of true north. Once you have the coordinate system, create the points using [Point.ByCartesianCoordinates](http://dictionary.dynamobim.com/#/Geometry/Point/Create/ByCartesianCoordinates).

You may have to also subtract the N/S and E/W (taken from Project Base Point) from the x and y you get from the import before using in the Point.ByCartesianCoordinates node.

---

<div class="post-metadata">

**Author:** ![TonyTowers](https://avatars.discourse-cdn.com/v4/letter/t/e5b9ba/32.png) [@TonyTowers](https://forum.dynamobim.com/u/TonyTowers)\
**Post date:** [December 19, 2018, 7:30am UTC](https://forum.dynamobim.com/t/insert-object-with-dynamo-into-the-right-project-location/29838/3 "2018-12-19T07:30:27Z")

</div>

Hi Kennyb6,

thanks for your answer, the issue is that i can´t make it to work.  
the problem is to import the object into the project when the project has “project coordinates” and especially an angle for the “true north”.

any idea how to resolve it?  
Regards

---

<div class="post-metadata">

**Author:** ![Johannes\_Meiners](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/johannes_meiners/32/9156_2.png) [@Johannes\_Meiners](https://forum.dynamobim.com/u/Johannes_Meiners)\
**Post date:** [December 19, 2018, 9:02am UTC](https://forum.dynamobim.com/t/insert-object-with-dynamo-into-the-right-project-location/29838/4 "2018-12-19T09:02:16Z")

</div>

To get the orientation you could use this:

![True-North](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/7/477809cc81bb25a53669ead6884bf87ba5a61cbb.jpeg)

you could also try to change the navis setting:

 ![orientation](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/3/731aa543f4a13f47a55af76de5b63795be872ad9.jpeg)

---

<div class="post-metadata">

**Author:** ![Alban\_de\_Chasteigner](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/alban_de_chasteigner/32/39650_2.png) [@Alban\_de\_Chasteigner](https://forum.dynamobim.com/u/Alban_de_Chasteigner)\
**Post date:** [December 19, 2018, 10:42am UTC](https://forum.dynamobim.com/t/insert-object-with-dynamo-into-the-right-project-location/29838/5 "2018-12-19T10:42:55Z")

</div>

Hi @TonyTowers,

You could try to convert the location of your points with the `Convert Point in Coordinate Systems` node.

![Convert%20points](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/c/8ca918747428bdbc29a199ab3153b922d0ac3752.png)

---

<div class="post-metadata">

**Author:** ![TonyTowers](https://avatars.discourse-cdn.com/v4/letter/t/e5b9ba/32.png) [@TonyTowers](https://forum.dynamobim.com/u/TonyTowers)\
**Post date:** [December 19, 2018, 11:45am UTC](https://forum.dynamobim.com/t/insert-object-with-dynamo-into-the-right-project-location/29838/6 "2018-12-19T11:45:23Z")

</div>

Hi @Johannes_Meiners,

i tried the node, however the values obtained where different, in X & Y, to the Project base point the value for angle was 360 - a when my angle is 321 and it gave me 39.

regarding changing the navis coordinates to internal was already done.

---

<div class="post-metadata">

**Author:** ![TonyTowers](https://avatars.discourse-cdn.com/v4/letter/t/e5b9ba/32.png) [@TonyTowers](https://forum.dynamobim.com/u/TonyTowers)\
**Post date:** [December 19, 2018, 11:47am UTC](https://forum.dynamobim.com/t/insert-object-with-dynamo-into-the-right-project-location/29838/7 "2018-12-19T11:47:10Z")

</div>

Hi @Alban_de_Chasteigner,

this node waorks fine but still not complete useful to me, i don´t know what could be wrong

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/9/19bc296d97ae6e76d720c7fd5db274f467e0c548.png)

---

<div class="post-metadata">

**Author:** ![TonyTowers](https://avatars.discourse-cdn.com/v4/letter/t/e5b9ba/32.png) [@TonyTowers](https://forum.dynamobim.com/u/TonyTowers)\
**Post date:** [December 19, 2018, 12:25pm UTC](https://forum.dynamobim.com/t/insert-object-with-dynamo-into-the-right-project-location/29838/8 "2018-12-19T12:25:43Z")

</div>

All,

the actual problem is the origin point, if I insert an object in my theoretical 0,0,0 and use it to move all to the object to the correct 0,0,0, (theoretical to correct 0,0,0) then all the points are totally right.

any idea of what could be?

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/e/7ec3f899367eecae05f070440e2615839395cb6a.png)

Regards
