XYZ Distance


#1

Hello All,

I have a simple question, I’m sure is a software revision issue but how can I access the XYZ Distance and XYZ nodes shown in the images below?

xyz

xyz distance


#2

They are now called Point.ByCoordinates and Geometry.DistanceTo …


#3

Much appreciated Andreas, so it should be assumed ‘geometry’ and ‘other’ perform as per ‘a’ and ‘b’ ?

1

 


#4

That’s correct.


#5

Is it possible to use Geometry.DistanceTo in a CBN? I’ve tried Autodesk.DesignScript.Geometry.Geometry.DistanceTo and Geometry.DistanceTo to no success.

 


#6

Sorry, just got it working - taking the form of:

pointA.DistanceTo(PointB)