How to get Edges with the GraphickPicker

alphaGuy
✭
Dear Support,
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,
Paolo
0
Categories
- All Categories
- 5.6K RobotStudio
- 398 UpFeed
- 20 Tutorials
- 13 RobotApps
- 299 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 327 IRC5
- 65 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 820 RAPID Programming
- 8 AppStudio
- 3 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings