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)