Tagging Linked Elements


I would like to reassociate dropped tags, to begin I am trying to grab tags in the active view.

I am using the clockwork node ‘All View-Dependent Family Instances Of Category’.

It works for everything when the tagged elements are in the current file.

But I get nulls when tagging an element in a linked file that isn’t a Room

There aren’t many nodes for selecting annotation categories and I’ve not found a python solution.

I’m getting nulls both in 1.3 and 2.01

Would anyone be able to help?



TagDropTest-host.rvt (1.8 MB) TagDropTest-for linking.rvt (1.8 MB)TagDropped.dyn (9.1 KB)

Have a look in the code behind the node my guess is that the document is chosen inside a python script in there, this need to be e.g. the linked document instead :slight_smile:



The odd thing is that the tags themselves are in the current file, so the code doesn’t (/shouldn’t need to) look at the link at all.

Room Tags are collected whether or not the room are in a linked file (I believe Rooms have special properties compared to other elements).

Presumably the collector is filtering the other types of tags so perhaps there is a solution in a different collector, but I can’t see it in the API docs…

Here is the code…