Geometry Distance To

Hello community,

I would like to share with you guys something that is happening to us and we cant find a reason for it:

We are checking the distance between two set of points using the node Geometry.DistanceTo

Why when we modify the input order in the node the minimum distance vary, THIS SHOULD NOT HAPPENED, as it is a minimum value of a cross product, any ideas?

Dyn attached
Geom to dist.dyn (25.0 KB)

1 Like

Hi @BIMadmin,

The Dynamo result is correct.
You have to add a Transpose node to reorder the sublists like in the first GeometryDistanceTo.


Amazing Alban,
I knew I was doing something wrong!
Thank you very much for looking into it!