An override for an alarm is all or nothing. If you look in the tag editor, the override indicator is next to the alarm, not each property in the alarm. Tags are different.
There are some posts the describe how to programmatically remove overrides:
I would like to remove some tag’s overrides in order the tag properties come back to the udt definition.
Is it possible with system.tag.configure ? loke we can do with the tag editor with the small green/grey override balls.
If we provide a tag propertie to system.tag.configure this add an overrides, but I don’t find the synthax to remove this overrides ?
Hello, thanks for the solution, but that is not what I want to do.
If I do it like this then the value of the enabled attribute will be True, but it still will be overridden. I know how to change the value from True to False and back, but I need to remove the override itself.
Here is the code I use:
#search for disabled childUDT, and enable it
parentPath = "[default]Project"
udtParentType = "parentUDT"
parentList = system.tag.browseTags(parentPath=parentPath,
tagPath="*",
tagTy…