Create UDT Instance from script

Is there a way for me to create a new UDT instance from a script triggered by an event in Perspective? I have used system.tag.write… to create standard tags in the past, but can’t seem to use it for UDTs. Thanks for the help!

You’ll want to use system.tag.configure with a tagType of “UdtInstance” and a tagId that is the name of your UDT. There’s examples in the docs.