Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Limit global GetPoints to specific list of items

#1
Is there a way to limit the global GetPoints() method to a specific list of passed items? I want to get the closest item to the mouse cursor that is in the domain of a passed list of acceptable items. Any recommendations?
#2
A workaround to pick certain objects is to hide the objects you are not interested in with the GetPoints function. You can also set the objects to 50% transparent or less an you won't be able to pick them unless you use a rectangle selection.

Also, you can use the item specific GetPoints function to get the points that apply to one object/item only:
https://robodk.com/doc/en/PythonAPI/robo....GetPoints
#3
Thank you Albert
  




Users browsing this thread:
1 Guest(s)