RoboDK Forum
Decrease curve object selection radius可打印版本

+- RoboDK Forum (https: //m.sinclairbody.com/forum)
+-- Forum: RoboDK (EN) (https: //m.sinclairbody.com/forum/Forum-RoboDK-EN)
+--- Forum: RoboDK API (https: //m.sinclairbody.com/forum/Forum-RoboDK-API)
+--- Thread: Decrease curve object selection radius (/Thread-Decrease-curve-object-selection-radius)



Decrease curve object selection radius-joebgold-03-13-2023

Is there a way to decrease the selection radius of curves in the API?
I'm having a problem where whenever multiple curves are close to each other and I try to select the furthest curve from the view, RoboDK would always select the closest curve to the view even if it is not the closest to the area i clicked (mouse point).


RE: Decrease curve object selection radius-Albert-03-13-2023

You can change the radius for selecting curves here:
  1. SelectTools-Options
  2. Select theDisplaytab
  3. Set the选择曲线感性to 2 mm or less
You can also change this parameter through the API by using the command TolerancePickCurve:
Code:
RDK.Command("TolerancePickCurve", 2)