PDA

View Full Version : Is Tag Attached to Object



maciej.szczudlo
2007-12-12, 02:04 PM
Can I check by Revit API if is Tag already attached to object? I can't find any association between object and his Tag.

With regards

Maciej Szczudło

mmason.65315
2007-12-12, 05:52 PM
As far as I can tell, it's not possible to find a relationship from an Object to its Tag. I presume this might be because one object could have multiple tags.

Conversely, looking for relationships between Tags and their objects, the Room Tag has a relationship - but none of the other tags seem to.

Sorry,
Matt

GuyR
2007-12-12, 07:57 PM
Maciej,

What you can do depends a lot on what tag you're trying to access. The closest I've got is looking at the elements in a view, the category of the tag and then comparing text in the tag and element parameters/category.

FWIW I've submitted cases on ADN for better tag intelligence. I suggest doing the same.

Guy