# How can we create Hierarchies of models in ignition?

**URL:** <https://forum.inductiveautomation.com/t/how-can-we-create-hierarchies-of-models-in-ignition/72351>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [April 12, 2023, 12:44pm UTC](https://forum.inductiveautomation.com/t/how-can-we-create-hierarchies-of-models-in-ignition/72351 "2023-04-12T12:44:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![p\_k](https://avatars.discourse-cdn.com/v4/letter/p/dbc845/32.png) [@p\_k](https://forum.inductiveautomation.com/u/p_k)\
**Post date:** [April 12, 2023, 12:44pm UTC](https://forum.inductiveautomation.com/t/how-can-we-create-hierarchies-of-models-in-ignition/72351/1 "2023-04-12T12:44:56Z")

</div>

I am very new to Ignition so this may be a very simple question but i am stuck since last many days. I want to create hierarchies of UDT'S but im unable to do it ? Any idea how's that done exactly ?

Basically i want to create asset model hierarchy on sitewise using cyrrus link's iot bridge. The model hierarchy i want is as below

Model1 (UDT) has two models in it W1(UDT) and W2(UDT) . W1 has two assets in it WT1 and WT2 (UDT Instances) and these assets have multiple measurements (TAGS eg. Temperature etc)

Now i am not sure how i can create this hierarchy, so any kind of help would be highly appreciated.  
Thank you

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [April 12, 2023, 2:16pm UTC](https://forum.inductiveautomation.com/t/how-can-we-create-hierarchies-of-models-in-ignition/72351/2 "2023-04-12T14:16:51Z")

</div>

Create all your UDTs.

Then you can add UDT instances in a UDT, just like you would add tags:

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/c/9cdd08c1749ae9e119e942d9e64a798bd3a2630e.png)

Here I created UDTs `Foo` and `Bar`, then nested an instance of `Foo` named `foo` in `Bar`  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/c/ccf1e2fba2f4a3eefc148fe82d6f6495304e8685.png)

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [April 12, 2023, 8:37pm UTC](https://forum.inductiveautomation.com/t/how-can-we-create-hierarchies-of-models-in-ignition/72351/3 "2023-04-12T20:37:01Z")

</div>

Perhaps the misunderstanding is that you can't edit the structure of a udt instance; you can only edit them in the UDT definition itself. That is to say, you can't add or remove tags, including udt instances, into/from a udt instance

---

<div class="post-metadata">

**Author:** ![p\_k](https://avatars.discourse-cdn.com/v4/letter/p/dbc845/32.png) [@p\_k](https://forum.inductiveautomation.com/u/p_k)\
**Post date:** [April 13, 2023, 6:49am UTC](https://forum.inductiveautomation.com/t/how-can-we-create-hierarchies-of-models-in-ignition/72351/4 "2023-04-13T06:49:48Z")

</div>

Thanks it helped

---

<div class="post-metadata">

**Author:** ![p\_k](https://avatars.discourse-cdn.com/v4/letter/p/dbc845/32.png) [@p\_k](https://forum.inductiveautomation.com/u/p_k)\
**Post date:** [April 13, 2023, 6:50am UTC](https://forum.inductiveautomation.com/t/how-can-we-create-hierarchies-of-models-in-ignition/72351/5 "2023-04-13T06:50:23Z")

</div>

yeahhh right. Thanks for responding
