Convert pyopctag object to py dictionary

Hey all. new to Ignition. I am wondering if you have a built in function to convert a pyopctag object into a py dict?
I would like to use system.opc.browseServer() (returns a pyopctag object) to reach out to a PLC and grab a specific PLC UDT then use system.tag.configure() (expects Python dictionary or a JSON source string.) to create my Ignition tags.

1 Like

It looks like there is plenty of information on this topic here.

Thank you!!! I thought I was going to have to create my own function to convert, it looks like somebody else did. I will test it when I cycle back to this project.

1 Like