# Get/Set Current Tool & work Object with PC SDK

**URL:** <https://tech-community.robotics.abb.com/t/get-set-current-tool-work-object-with-pc-sdk/7667>\
**Category:** Developer Tools\
**Created:** [April 3, 2017, 5:09pm UTC](https://tech-community.robotics.abb.com/t/get-set-current-tool-work-object-with-pc-sdk/7667 "2017-04-03T17:09:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DavidLanham](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/davidlanham/32/219_2.png) [@DavidLanham](https://tech-community.robotics.abb.com/u/DavidLanham)\
**Post date:** [April 3, 2017, 5:09pm UTC](https://tech-community.robotics.abb.com/t/get-set-current-tool-work-object-with-pc-sdk/7667/1 "2017-04-03T17:09:08Z")

</div>

I am looking for a way to Get the current tool of the robot and the work object, also being able to set the current tool and work object of the robot using PC SDK calls. Does anybody know how to do this. I have looked into this with the MotionSystem but have not been able to figure it out.

Thanks,  
David

---

<div class="post-metadata">

**Author:** ![DanLars](https://avatars.discourse-cdn.com/v4/letter/d/94ad74/32.png) [@DanLars](https://tech-community.robotics.abb.com/u/DanLars)\
**Post date:** [April 4, 2017, 11:17am UTC](https://tech-community.robotics.abb.com/t/get-set-current-tool-work-object-with-pc-sdk/7667/2 "2017-04-04T11:17:54Z")

</div>

Hi David

I think you can only get the tool and workobject using the PC SDK under ABB.Robotics.Controllers.MotionDomain.MechanicalUnit - this class has the properties. If you want to set it using the PC SDK, you could send a IPC message to the rapid task ,which would then be processed in the Trap rutine, where you can change tool / workobject. However this requires the RAPID to be running.

Alternatively you have to use the Flexpendant SDK and develop a user application here. Its in the same namespace ie. ABB.Robotics.Controllers.MotionDomain.MechanicalUnit - however in a different dll since its the flexpendant SDK.

Regards, Lars
