Use a UDT instance as an owning object
- Last UpdatedApr 08, 2025
- 2 minute read
You can configure the owning object of an embedded graphic and point to an UDT instance. During run time, the me. relative reference is replaced by the UDT instance. You can also update the owning object to a different UDT instance during run time.
Example: use a UDT instance as an owning object
-
In the Visualization folder, navigate to ReactorDemo Symbols > MainDisplays
-
Edit the BatchPlant_OwningObj graphic.
-
Select the embedded graphic BatchPlant_RelativeRef1.
In the properties grid, notice that the OwningObject attribute is set to BatchPlant, which is the UDT instance.

You can create another UDT instance from BatchPlantType so that in run time, you can switch to a different UDT instance using the input animation.

Example: switch the owning object to a different UDT instance in run time
-
Embed the BatchPlant_OwningObj graphic in another frame window.
-
Close WindowViewer, if it is running.
-
Switch to WindowViewer.
-
Verify that the “me.” relative reference is bound to BatchPlant.
You can change the owning object to a different instance.
