I can’t seem to get the Tag Element Host?
hmm, I would expect that to return the tagged element as well.
Here’s a quick snippet to get you by.
re_GetTagHost.gh (6.2 KB)
Another option goes the other way around. The Element Dependents of the Element Tagged will provide the associated tag.
The Element Host component is working on a slightly different ‘Host’, such as a Curtain Panel returns the Curtain Wall its hosted in.
The annotations & tags Revit API changed a bit in recent years, so a new Get Annotation Hosts component is probably required, vs fitting all possible conditions into the one Element Host component.
The snippet I posted above will only work on Revit 2022+
We have added ‘Annotation References’ component to V1.12 recently, it will be available next Tuesday.
It should work with any kind of Dimension, and Tag.
Amazing!! thank you.
So quick on the responses.
Appreciate it.
One workflow this provides is tagging all not tagged by excluding the element already tagged in a query.
Annotation References returns null’s on rebar tags.
However @Japhy 's solution from previous posts seems to work just fine.
Not really a question, just a notice