Tag by category/Multi-rebar-tag, override graphics/color tagged elements

Hi. All new to dynamo, so please bear with me.
I’ve made a simple workflow to help me keep track of tagged elements in Revit.

It’s coloring untagged rebars red, and the tagged ones blue.
It works great when I use the “Tag by category”-tool to tag my rebars.

The problem is when I use the “Multi-rebar-tag”-tool to tag rebars, then rebars tagged with multi-rebar-tag also is colored red.

As far as I’ve been able to figure out, the multi-rebar-tag is a Multi Reference Annotation-element.
My guess is that the Tag.TaggedElements-node is not the correct one to use, but I cant find a node that’s working.
I’ve tweaked a bit with the configuration without being able to get it right.

Any hints or solutions would be highly appreciated.

Tag methods changed in 2022. Some node may not have been updated. You can always use the API to get multiple elements from tags.

Please excuse my ignorance, but what am I looking at the linked page, a function to build in to a python script, and use that instead of the tag.TagElement node?

My experience with python is quite limited, is the code quite straight forward?

Hi @Knu7 ,

This will help you: