# Add flag to TCP to allow editing of URCap-contributed TCPs in built-in GUI

**URL:** <https://forum.universal-robots.com/t/add-flag-to-tcp-to-allow-editing-of-urcap-contributed-tcps-in-built-in-gui/8509>\
**Category:** SDK and API\
**Created:** [August 19, 2020, 11:42am UTC](https://forum.universal-robots.com/t/add-flag-to-tcp-to-allow-editing-of-urcap-contributed-tcps-in-built-in-gui/8509 "2020-08-19T11:42:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon73882248](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@anon73882248](https://forum.universal-robots.com/u/anon73882248)\
**Post date:** [August 19, 2020, 11:42am UTC](https://forum.universal-robots.com/t/add-flag-to-tcp-to-allow-editing-of-urcap-contributed-tcps-in-built-in-gui/8509/1 "2020-08-19T11:42:50Z")

</div>

# Summary

Add a method to add a TCP and allow the built-in TCP Configuration to still edit the coordinates and use of the Position and Orientation wizards.

# What is it?

Add a setEditable/getEditable to com.ur.urcap.api.domain.tcp.tcp (TCP Interface) that when set allows the use of Rename, Position and Orientation, as well as allow normal editing of the coordinate fields, in the built-in TCP Configuration GUI.

Alternatively it could be added to TCPContributionModel instead as another constructor (“addTCP(String idKey, String suggestedName, Boolean editable”).

# Why is it needed?

This allows URCap developers to add TCPs to an installation and grouping them under the URCap TCP group while still allowing the end-user to edit the TCP.  
This is useful for tool changer, and similar, implementations to allow the end-user to change the TCPs of the tools without requiring a full re-implementation of TCP editing and wizards in the URCap. While the end-user could create a new TCP, use the wizards and copy the numbers, that would add several unnecessary steps.

---

<div class="post-metadata">

**Author:** ![m.birkholz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/m.birkholz/32/7084_2.png) [@m.birkholz](https://forum.universal-robots.com/u/m.birkholz)\
**Post date:** [August 19, 2020, 1:11pm UTC](https://forum.universal-robots.com/t/add-flag-to-tcp-to-allow-editing-of-urcap-contributed-tcps-in-built-in-gui/8509/2 "2020-08-19T13:11:46Z")

</div>

actually, we re-implemented the TCP editing which confuses our customers because of this missing feature, so thumbs up for that request 👍
