How to get Edges with the GraphickPicker
I would like to develop my own "Auto Path" using the Robot Studio SDK.
Similar to the Auto Path function of Robot Studio, I would like to select an edge, or a collection of edge to define the robot path.
To this end, I am using the GraphicPickEventHandler with SelectionModes.Surface and SnapMode.Edge.
However, my main problem is that the event arguments e.PickedObject in this case return a Surface while I would like to get the corresponding Edge snapped by the spherical cursor.
May I know what is the easiest way to retrieve the Edge snapped by the cursor?
Thanks for your kind attention and Regards,
- 9.8K All Categories
- 5K RobotStudio
- 318 UpFeed
- 6 Tutorials
- 270 PowerPacs
- 401 RobotStudio S4
- 3 RobotStudio AR Viewer
- 576 RAPID Programming
- 9 Wizard Easy Programming
- 2.5K Robot Controller
- 160 IRC5
- 23 OmniCore
- 5 RCS (Realistic Controller Simulation)
- 1.7K Developer Tools
- 224 ScreenMaker
- 86 Collaborative Robots