Create instance of UDT Tag with Python?

Is it possible to create an instance of a UDT tag with a script (python)?

I’ve created a UDT in my Data Types folder, but when I try to copy the tag with system.tag.copy, it keeps putting it into the Data Types directory.

For example, I’d like to create a UDT from a button click event script. So far I can’t figure out how to do that.

A copy of a data type is another data type, not an instance of that data type. You want system.tag.configure.

That was the nudge I needed! Thank you!!

I found the answer here under “Add UDT Instance” on the system.tag.configure documentation. For whatever reason, when I read this the first time I thought it meant to create a new UDT. I should have picked up on the word instance.