CoordinateSystem.ByOrigin

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?

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

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

also you can use this node from Brimohareb pak.