Implementing Multi-Category Tags in Revit
Method to implement Multi-Category Tags in Revit
Keyword for Tag method:
IndependentTagThere are two methods for creating tags. The input parameters are basically the same, but there are some differences. The following description and image can help distinguish them better.
First function: Creates a multi-category tag using an actual project coordinate point without needing to specify the tag type.
Create Method (Document, ElementId, ElementId, Reference, Boolean, TagOrientation, XYZ)Second function: Controls the display position via UVPoint, i.e., a point on the element, and requires specifying the tag category.
Create( Document document, ElementId ownerDBViewId, Reference referenceToTag, bool addLeader, TagMode tagMode, TagOrientation tagOrientation, XYZ pnt )
- Code example: Reads elements in the view via document and places multi-category annotations. If multi-view simultaneous operation is needed, you need to find all views and pass them in to get all elements.
1 | using (Transaction transaction= new Transaction(doc)) |





