Retrieving text from a linked Independent Tag


I have independent tags attached to a linked file in my project. I would like to be able to retrieve the text information like you can with the Tag.TagText node on normal tags. Does anyone know a solution?

I’ll provide any more information if needed. Any help would be appreciated!

Hi @Stetson,

Welcome to the Dynamo community.
Can you share a sample file with 2-3 elements tagged with the Independent Tag?

Also, see if the nodes from archilab or rhythm yield any result.

1 Like

Thanks for your response @AmolShah

I tried those nodes you suggested, but they still return a null value.

Here is a Google Drive link with a project and a linked RVT file:

Tag.TagText expects a Revit.tElemenst.Tag, but is getting a list of Revit.Elements elements.

This is throwing an error because the beam is a direct shape. Seems Dynamo isn’t liking that. If your tossing in some standard beams, the nodes work just fine.


It doesn’t seem to be possible to retrieve the tag text for now in the API :
Autodesk.Revit.Exceptions.InvalidOperationException : The tagging element is in the link.