TagText Property


Independent Tag Tag Text Property

The text associated with the tag. If there are several strings assiciated with the tag, the strings will be returned concatenated.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public string TagText { get; }

Property Value

String
Exceptions
Exception Condition
InvalidOperationException The IndependentTag object does not have a tag behavior. -or- The IndependentTag object does not have a valid tag text. -or- The tagging element is in the link.
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →