Hi everyone,
I am trying to make this node work with a really simple exercise and I cannot make this node work properly. I am pretty sure I must be doing somthing wrong, but I cannot figure it out.
In the first picture the node works perfectly, but if I move the objects the closest point that Dynamo points out is not the closest.
Did anyone have the same problem? Any ideas?
Thank you very much in advance.
@Ambrosio_Gomez_Moral Check if the polycurve and the family instances are all in the same plane
Hi there,
Thank you for your comment. Yes, all elements are in the same plane
@Ambrosio_Gomez_Moral Could you share a small file (with the issue)?
Hi Vikram,
I will definitely.
It is curious, if I lace “ElementGeometry” directly to “ClosestPointTo” it works, however the problem become when I convert the geometries (two lines) into a Polycurve as I want to convert the two lines in one (line or curve - one geometry)
I will upload the little model later on.
Thank you very much.
@Ambrosio_Gomez_Moral Try creating a Nurbs Curve instead (using the vertices of the lines and degree )
Thank you Vikram and sorry for the late answer.
By Nurbs Curbe it works perfectly.
Thank you very much.
1 Like