IA Scripting Module - use editTag to disable a tag

Hi,

Is there a way to set the enabled property of a tag using system.tag.editTag? It appears only tagPath, attributes, and parameters are valid in this function.

I’d like to have a few dynamic OPC tags in a UDT that are disabled if not in use on a specific instance, so I don’t think deleting and re-creating the tag is an option.

Thanks,

Dan

Nevermind. I didn’t realize “.Enabled” could be written to directly just like some of the other tag attributes.

system.tag.write("someFolder/SomeUDT/someTag.Enabled",0)

Thanks,

Dan