I´d like to know how to use this system tag excluding severral tags example:

system.tag.writeToTag("[Client]BM_Data_Screen/Selected Line"," 202 and 208 ")

excluding for instance 205 and 207.

How can i do that?

Thanks in advance.

I think what you’d want here is something like this:

tag_list = ["[Client]BM_Data_Screen/Selected Line 202","[Client]BM_Data_Screen/Selected Line 208"]
value_list = [0,1]
system.tag.writeToTags(tag_list, value_list)

You could also use a loop to generate your list of tags/values if there are too many to do by hand.