I have a scenario where I can dynamically create a new UDT when a new work center is brought online. The system needs to run a script to pull data from our EPR system to populate data in the tag. My problem is if I dynamically create the tag I need to manually add it to the Tag Change Script list. How can I dynamically add my new tags to this change script list.
You effectively cannot, in 8.1 and prior versions. In 8.3 the metadata about each tag change resource will be written to disk in a human readable format and you'll be able to generate a tag change script resource programmatically, write it to the filesystem, and run system.project.requestScan()
to pick it up.
wow thats awesome. I know I have asked for something like that back to version 7.x