Hi guys, another day another question.
Im sure its possible but dont know how to implement this.
Ivre created an UDT Equipement, inside this UDT there is a folder Rooms which is the rooms that are linked to this equipement.
Inisde this folder I wanna place my Room UDT.
The problem is that I never have the same amount of Room in my Rooms folder for every Equipement, sometimes there is 0, 1, 2 or evern more rooms so I cant directly place Room UDT in Equipement UDT
When I try to place UDT in this folder I get this message :
Tag errors occurred during tag transfer Bad_Unsupported("The target path '[default]Equipement/Rooms' does not have item 'Room' for overrides, and cannot accept children tags.")
THx for your help
You can select Parent Data Type when creating UDT.
Create a UDT without Room, then create UDTs with one or more Rooms that inherit from the original UDT.
1 Like
UDTs have a fixed structure. You cannot place any other object inside them. If there are only a few variations, then follow @nideyijuyidong's advice--make inherited UDTs for each variation.
Otherwise, you must make a tag folder outside your "Equipment" UDT for the variable number of "Room" instances.
1 Like
In a more complex situation, I put all the rooms in a folder, and then configure a list tag for the udt to indicate which rooms belong to this udt. This is more cumbersome, but it can also be useful, especially sometimes the customer wants to change the ownership of the rooms.
1 Like
Thx for your answers guys, it works great 