I am trying to check if in the RhinoCommon SDK there is any automatic way to have a GetPoint that accepts the shift modifier key to constraint the input along the ortho direction (as the Line, Curve and other commands do).
Do I have to implement this myself?
Thanks a lot
Well this should be on for all new instances of
GetPoint. But you can set this explicitlly by calling
GetPoint.PermitOrthoSnap. Note, ortho only works if you set a base point using
Does this help?
That’s a good tip we are not setting the base point in our command, that was the missing step.
Thanks a lot Dale! Have a great day