# How to Copy/Paste UDT definition?

**URL:** <https://forum.inductiveautomation.com/t/how-to-copy-paste-udt-definition/57038>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [March 9, 2022, 11:05pm UTC](https://forum.inductiveautomation.com/t/how-to-copy-paste-udt-definition/57038 "2022-03-09T23:05:31Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![peter](https://avatars.discourse-cdn.com/v4/letter/p/278dde/32.png) [@peter](https://forum.inductiveautomation.com/u/peter)\
**Post date:** [March 9, 2022, 11:05pm UTC](https://forum.inductiveautomation.com/t/how-to-copy-paste-udt-definition/57038/1 "2022-03-09T23:05:31Z")

</div>

(This is in 8.1.15 under Linux)

In my test project I have a single UDT that I want to duplicate and make some changes to in order to create a second UDT. I can right click on the original UDT and select Copy, but there seems to be no place where I can click in order to correctly select Paste. The only mouse target seems to be the original UDT that I copied. This results in an error message saying that I am trying to nest UDT definitions. This occurs no matter where I right click within the UDT definitions tab.

So how do I duplicate a UDT without doing an Export/Import?

Note that I can right click anywhere within the UDT definitions tabs and sucessfully select New Tag/New Data Type

![DuplicateUDT](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/4/4434d380da51671215107ccdbf778eb79645d8b1.png)

---

<div class="post-metadata">

**Author:** ![josborn](https://avatars.discourse-cdn.com/v4/letter/j/4bbf92/32.png) [@josborn](https://forum.inductiveautomation.com/u/josborn)\
**Post date:** [March 9, 2022, 11:28pm UTC](https://forum.inductiveautomation.com/t/how-to-copy-paste-udt-definition/57038/2 "2022-03-09T23:28:22Z")

</div>

Make a new folder and paste it in there.

---

<div class="post-metadata">

**Author:** ![peter](https://avatars.discourse-cdn.com/v4/letter/p/278dde/32.png) [@peter](https://forum.inductiveautomation.com/u/peter)\
**Post date:** [March 9, 2022, 11:29pm UTC](https://forum.inductiveautomation.com/t/how-to-copy-paste-udt-definition/57038/3 "2022-03-09T23:29:07Z")

</div>

_Stamps foot_ But I don’t want to make a new folder!!!

---

<div class="post-metadata">

**Author:** ![josborn](https://avatars.discourse-cdn.com/v4/letter/j/4bbf92/32.png) [@josborn](https://forum.inductiveautomation.com/u/josborn)\
**Post date:** [March 9, 2022, 11:29pm UTC](https://forum.inductiveautomation.com/t/how-to-copy-paste-udt-definition/57038/4 "2022-03-09T23:29:36Z")

</div>

It can be temporary, just change the name and get rid of the folder. I see what you are saying though, would be nice if it would work like normal tags and append \_0.

---

<div class="post-metadata">

**Author:** ![peter](https://avatars.discourse-cdn.com/v4/letter/p/278dde/32.png) [@peter](https://forum.inductiveautomation.com/u/peter)\
**Post date:** [March 9, 2022, 11:32pm UTC](https://forum.inductiveautomation.com/t/how-to-copy-paste-udt-definition/57038/5 "2022-03-09T23:32:15Z")

</div>

I really hate inconsistancey

---

<div class="post-metadata">

**Author:** ![mikevkrell](https://avatars.discourse-cdn.com/v4/letter/m/aeb1de/32.png) [@mikevkrell](https://forum.inductiveautomation.com/u/mikevkrell)\
**Post date:** [October 13, 2022, 8:04pm UTC](https://forum.inductiveautomation.com/t/how-to-copy-paste-udt-definition/57038/6 "2022-10-13T20:04:34Z")

</div>

I've got a solution for you!

1. Select the UDT that you want and "Copy"
2. while holding CTRL select the currently selected UDT which should De-Select it leaving nothing selected.
3. Paste, and you should end up with a copy of the UDT with the " 1" modifier.

You are Welcome....

---

<div class="post-metadata">

**Author:** ![AnirudhVelamore](https://avatars.discourse-cdn.com/v4/letter/a/47e85d/32.png) [@AnirudhVelamore](https://forum.inductiveautomation.com/u/AnirudhVelamore)\
**Post date:** [November 7, 2024, 5:52pm UTC](https://forum.inductiveautomation.com/t/how-to-copy-paste-udt-definition/57038/7 "2024-11-07T17:52:22Z")

</div>

> [@josborn](#):
>
> t rid of the folder. I see what you are saying though, would be nice if it woul

I knew I had to deselect but just forgot that CTRL inverses selection.

Thanks!
