get_current_view_elements
Get all elements visible in the active Revit view with their IDs, names, categories, and category counts. Supports limiting results and detecting truncation for large datasets.
Instructions
Get elements visible in the currently active view in Revit.
Returns per element: element_id, name, category, category_id. Also returns category_counts (always for ALL elements, even if truncated).
If the response contains truncated=true, not all elements were returned. Check total_elements vs returned_elements and increase limit if needed.
Args: limit: Maximum number of elements to return (default 5000). include_levels: Include level name and level_id per element. Default false. include_location: Include location geometry (point or curve). Default false.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| include_levels | No | ||
| include_location | No |