I have a parent UDT, and I have a child UDT with overrides and additions. I want to flatten this structure so there is one UDT that describes the child as it functions with its parent, but removing the parent/child relationship and bringing everything into a single UDT.
Is there a process to do this?
Changing the child's parent to <none>
wipes out everything but the members only existing in the child.
Within a single designer session, while editing a UDT, I regularly copy members of a UDT definition and paste them to another with great success.
In your case, you should be able to (untested):
- Edit Parent UDT, select desired (all) tags, right-click & copy. Cancel edits.
- Edit Child UDT, change parent type to . Paste clipboard (members of parent UDT) to desired destination folder (root) of child UDT. Apply. Check. Test.
A disclaimer, I have had issues with instances going haywire (requiring a recreate) when significant changes made to a child UDT template.
I'm curious what others have done.
I recommending exporting both as JSON, then merging the tags
array manually.