# Change udt member name of udt when instance

**URL:** <https://forum.inductiveautomation.com/t/change-udt-member-name-of-udt-when-instance/26543>\
**Category:** Ignition\
**Created:** [July 14, 2019, 3:56am UTC](https://forum.inductiveautomation.com/t/change-udt-member-name-of-udt-when-instance/26543 "2019-07-14T03:56:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [July 14, 2019, 3:56am UTC](https://forum.inductiveautomation.com/t/change-udt-member-name-of-udt-when-instance/26543/1 "2019-07-14T03:56:59Z")

</div>

Hi  
I want to create a UDT structure that has several level of udt inside it.  
For each instance the udt member have different tag name.  
For example:  
I have Airompresor & Motor UDT.  
AirCompressor1.Motor1245A  
Aircompressor2.Motor1267A  
The Motor is UDT which is each air compressor UDT instance has a unique name.  
How can I do this in ignition? I don’t want to use folder structure.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [July 14, 2019, 12:49pm UTC](https://forum.inductiveautomation.com/t/change-udt-member-name-of-udt-when-instance/26543/2 "2019-07-14T12:49:31Z")

</div>

What you want seems to be diametrically opposed to what UDTs do. You’ll have to use folders to hold the tags that have unique names per instance.

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [July 14, 2019, 2:15pm UTC](https://forum.inductiveautomation.com/t/change-udt-member-name-of-udt-when-instance/26543/3 "2019-07-14T14:15:27Z")

</div>

Isn’t it possible to use udt parameters as tag members?

---

<div class="post-metadata">

**Author:** ![rberghammer](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/rberghammer/32/7150_2.png) [@rberghammer](https://forum.inductiveautomation.com/u/rberghammer)\
**Post date:** [July 14, 2019, 5:42pm UTC](https://forum.inductiveautomation.com/t/change-udt-member-name-of-udt-when-instance/26543/4 "2019-07-14T17:42:59Z")

</div>

How about creating a “name” property for your Motor UDT?  
Example:  
AirCompressor1.Motor.Name = “1245A”  
AirCompressor2.Motor.Name = “1267A”

---

<div class="post-metadata">

**Author:** ![Paullys50](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paullys50/32/3324_2.png) [@Paullys50](https://forum.inductiveautomation.com/u/Paullys50)\
**Post date:** [July 14, 2019, 6:01pm UTC](https://forum.inductiveautomation.com/t/change-udt-member-name-of-udt-when-instance/26543/5 "2019-07-14T18:01:15Z")

</div>

If you don’t want to use folders then you have to create a UDT for each Air compressor instance you want. You can’t dynamically add instances of your motor UDT to the Air Compressor UDT.

```auto
AirCompressor1 UDT
    Motor123 (Motor UDT)
    Motor456 (Motor UDT)

AirCompressor2 UDT
    Motor987 (Motor UDT)
    Motor876 (Motor UDT)
    Motor765 (Motor UDT)

```

Why do you oppose a folder?
