Retrieving text from a linked Independent Tag

Hi,

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:
https://drive.google.com/drive/folders/1JYcm6ViZPtxe1DeD5EHq_pAPvb1FS_On?usp=sharing

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.

Hi,

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.

https://apidocs.co/apps/revit/2022/8e297dee-920d-f620-6198-0bed494e3f04.htm#

2 Likes