# Can you change wrkobj, but maintain target location?

**URL:** <https://tech-community.robotics.abb.com/t/can-you-change-wrkobj-but-maintain-target-location/7698>\
**Category:** RobotStudio\
**Created:** [April 25, 2017, 2:03pm UTC](https://tech-community.robotics.abb.com/t/can-you-change-wrkobj-but-maintain-target-location/7698 "2017-04-25T14:03:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![c63amg](https://avatars.discourse-cdn.com/v4/letter/c/7bcc69/32.png) [@c63amg](https://tech-community.robotics.abb.com/u/c63amg)\
**Post date:** [April 25, 2017, 2:03pm UTC](https://tech-community.robotics.abb.com/t/can-you-change-wrkobj-but-maintain-target-location/7698/1 "2017-04-25T14:03:50Z")

</div>

![image.png](https://europe1.discourse-cdn.com/flex005/uploads/robotics1/original/2X/c/c32258d963904ad3ec6cf2da9ca8d4ce9250892a.png)

Hello,

Can you create the targets/path in the picture first using wrkobj0, then later edit the program to use workobj1, but not move any of the target/paths in the world coordinates…

---

<div class="post-metadata">

**Author:** ![Johannes\_Weiman](https://avatars.discourse-cdn.com/v4/letter/j/e47c2d/32.png) [@Johannes\_Weiman](https://tech-community.robotics.abb.com/u/Johannes_Weiman)\
**Post date:** [April 25, 2017, 8:58pm UTC](https://tech-community.robotics.abb.com/t/can-you-change-wrkobj-but-maintain-target-location/7698/2 "2017-04-25T20:58:38Z")

</div>

Very easy when doing offline programming. Just drag the targets to the new workobject and select No when asked to reposition the targets.

When editing RAPID you can use the “Adjust Robtargets” function.

---

<div class="post-metadata">

**Author:** ![c63amg](https://avatars.discourse-cdn.com/v4/letter/c/7bcc69/32.png) [@c63amg](https://tech-community.robotics.abb.com/u/c63amg)\
**Post date:** [April 28, 2017, 1:02am UTC](https://tech-community.robotics.abb.com/t/can-you-change-wrkobj-but-maintain-target-location/7698/3 "2017-04-28T01:02:27Z")

</div>

Easy thank you.  
Issue now: I am creating the path with paint brush triggers. They get shifted even if I don’t shift the path. Can’t have that.
