tag_elements
Tags all elements of a specified category in the active Revit view, with optional limits, skipping already tagged items, and leader lines. Returns count and reasons for any skipped elements.
Instructions
Place tags on all elements of one category in the ACTIVE view.
Tags land in whichever view is currently active in Revit - check with get_current_view_info first if that matters. Returns how many were tagged and, for anything skipped, why.
Tagging requires a tag family for that category to be loaded in the project. If none is loaded, nothing is tagged and the response says so; that is a loaded-content problem, not something to retry.
Does NOT: tag across multiple views, position tags intelligently (each one lands at its element's centre and they will overlap in dense areas), or choose between multiple loaded tag families.
Args: category_name: Revit category to tag, e.g. "Walls", "Doors", "Windows", "Rooms". Singular or plural both resolve. limit: Maximum tags to place in one call (default 1000). skip_tagged: Skip elements that already have a tag in this view. Leave True to make repeat calls idempotent. leader: Give each tag a leader line.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| leader | No | ||
| skip_tagged | No | ||
| category_name | Yes |