Get tags of selected elements

Hey, Is it possible to get all tags that are connected to the selected element.
Preferably in the active floorplan.

Anything like here will work.

Sure there are multiple ways to select the elements which you need.

1 Like

Hiya,

This does the trick:

elemFilter = ElementClassFilter(IndependentTag)
OUTPUT = INPUT.GetDependentElements(elemFilter)

If you want the Tags in the active floorplan, filter through them, comparing OwnerViewId with your preferred ViewId.

Rick

2 Likes