![RobotStudio event](https://new.abb.com/images/librariesprovider89/default-album/robotstudio-webinar-arc-welding.jpg)
Retreiving a wobj definition from Robot Web Services
![Humphrey](https://secure.gravatar.com/avatar/130a18c4b411c9e0bdb6e8cbae70f9a1/?default=https%3A%2F%2Fus.v-cdn.net%2F5020483%2Fuploads%2Fdefaultavatar%2FK2266OAKOLNC.jpg&rating=g&size=200)
Humphrey
✭
Does anyone know how to get the wobj definition from the REST API? More precisely: what REST URL gives me the x,y,z,q1,q2,q3,q4 values of a certain wobj that is loaded in the controller?
Scenario:
-I load a RAPID program with a wobj: 'WobjTable' for example
-I adjust this wobj with the flexpendant and the 3 point method
-Now I would like to retreive this new wobj definition from the Robot Web Services REST API
I was looking under
Scenario:
-I load a RAPID program with a wobj: 'WobjTable' for example
-I adjust this wobj with the flexpendant and the 3 point method
-Now I would like to retreive this new wobj definition from the Robot Web Services REST API
I was looking under
/rw/rapid/but couldn't find it there so far..
Tagged:
0
Comments
-
Ok, apparently there is no function to do this directly, however you can get it by searching through the module text:
First loop over all modules:/rw/rapid/modules?task=T_ROB1
then search for the wobjdata definitions:/rw/rapid/modules/PUT_MODULENAME_HERE?task=T_ROB1&startrow=0&startcol=0&text=wobjdata
then with the results you can get the actual text where the wobj is defined:/rw/rapid/modules/PUT_MODULENAME_HERE?task=T_ROB1&startrow=PUT_RESULTS_HERE&startcol=PUT_RESULTS_HERE&endrow=PUT_RESULTS_HERE&endcol=PUT_RESULTS_HERE<br>
0
Categories
- All Categories
- 5.5K RobotStudio
- 397 UpFeed
- 18 Tutorials
- 13 RobotApps
- 299 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 319 IRC5
- 63 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 804 RAPID Programming
- 4 AppStudio
- 3 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings