GetPointOnCurve extend cursor distance


Prevoiously I had a question how to add points that is located on a line however I realised when I drag the cursor far away from the line the selection does not function. The cursor needs to be very close to the line to apply the point. Is there any way to increase the cursor distance from the line?

Previous post:

Hi @onrender,

Try replacing this:


with this:

gp.Constrain(Rhino.Geometry.LineCurve(ptA,ptB), False) 

Any better?

– Dale

Thank you Dale,

Actually, I tried with Python code but the C# code works like as I expected, so the point follows the cursor regardless of its position on the screen.