Geometry closest point to bug

Similar to this post, there appears to be a bug with the ‘Geometry.closestPointTo’ node. Originally I though it was a geometry scaling issue but I’ve tried all scales and it isn’t working. I’ve tried multiple line types (2nd degree NURBS, 3rd degree NURBS & polycurve) and all fail. This use to work in Dynamo 1.3 so not sure what is going on.

Using Revit 2018 and Dynamo 2.0.3.

Project1.rvt (1.3 MB) spline error.dyn (34.5 KB)

Best to create an issue on the GitHub page for this. :slight_smile:

aren’t your inputs backwards?

Obtain the closest Point on this Geometry to the other
The closest point on the point to the any other geometry is the point…


Thanks @Michael_Kirschner2 that worked but you would think that it would throw an error if it wasn’t wired up correctly???