# CoordinateSystem.ByOrigin

**URL:** <https://forum.dynamobim.com/t/coordinatesystem-byorigin/95725>\
**Category:** Geometry\
**Created:** [November 22, 2023, 11:07am UTC](https://forum.dynamobim.com/t/coordinatesystem-byorigin/95725 "2023-11-22T11:07:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrej](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/andrej/32/172909_2.png) [@Andrej](https://forum.dynamobim.com/u/Andrej)\
**Post date:** [November 22, 2023, 11:07am UTC](https://forum.dynamobim.com/t/coordinatesystem-byorigin/95725/1 "2023-11-22T11:07:24Z")

</div>

Hello,

So I have a set of points in Dynamo environment. Those points have X,Y,Z values. What I want is to get X,Y,Z values **relative** to a point I choose in Dynamo. I have found CoordinateSystem.ByOrigin node. From what I understand, I can set a coordinate system of my choosing by specifying its origin. The output of the node is CoordinateSystem. But, how can I use it to get what I need?

---

<div class="post-metadata">

**Author:** ![Mike.Buttery](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@Mike.Buttery](https://forum.dynamobim.com/u/Mike.Buttery)\
**Post date:** [November 22, 2023, 11:13am UTC](https://forum.dynamobim.com/t/coordinatesystem-byorigin/95725/2 "2023-11-22T11:13:20Z")

</div>

Can you subtract chosen point from the others giving you the difference?

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [November 22, 2023, 1:19pm UTC](https://forum.dynamobim.com/t/coordinatesystem-byorigin/95725/3 "2023-11-22T13:19:17Z")

</div>

Geometry.Transform will also allow you to move from the local coordinate system to the global, or vice versa.

So if you want to get the XYZ coordinates of a point relative to a coordinate system on a curve:

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/b/d/bda30092b2599d23b17b7ed0fc482c5ab098c4f4.png)

---

<div class="post-metadata">

**Author:** ![RMohareb](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/rmohareb/32/120534_2.png) [@RMohareb](https://forum.dynamobim.com/u/RMohareb)\
**Post date:** [November 22, 2023, 1:25pm UTC](https://forum.dynamobim.com/t/coordinatesystem-byorigin/95725/4 "2023-11-22T13:25:28Z")

</div>

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

also you can use this node from Brimohareb pak.
