Hello everyone!
I want to know how to measure the distance between two points in both x/y direction next to each other?. Cuz, at the end I need to give a specific radius to the cylinder so they won’t intersect .
Geometry.DistanceTo will give you the linear distance between any two geometry elements (ie: a point and a point; a point and a curve, a solid and a surface).
This is the nearest distance on any vector, so if you want a XY constrained distance you will want to pull the geometries in question onto the XY plane, and then get the distance between the resulting geometry.