How to get the exact type of routine?

Scott
✭
in RobotStudio
After using GetRoutines() to get all routines in one specified module, when try to get the exact type of one routine with Type property, no matter it's function , procedure, trap, it always returns "Routine". So my question is how to get the exact type for trap to return "trap" accordingly?
Thank you!
Thank you!
Tagged:
0
Comments
-
do you mean in Rapid code?
Or is it a question about the SDK?0
Categories
- All Categories
- 5.6K RobotStudio
- 398 UpFeed
- 20 Tutorials
- 14 RobotApps
- 300 PowerPacs
- 406 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 336 IRC5
- 67 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 828 RAPID Programming
- 12 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 107 Collaborative Robots
- 5 Job listings