AnsweredAssumed Answered

How to update multiple Tag attributes at a shot?

Question asked by Santachow on Sep 9, 2018
Latest reply on Sep 10, 2018 by Santachow



Trying to put in a code in C# to update multiple tag attribute values for a tag.

variable "list" gives me the <Key, value > of the attributes for the selected TagName. It throws me an error during the updateValues. Any clues?



var list = TagName.GetAttributeDictionary(TagConfigDatabase).ToList();


foreach (var element in list) {


PIPoint myPIPoint = myPIserver.UpdateValues(element, AFUpdateOption.Replace);