get_current_view_elements
Extract Revit elements from the active view, applying category filters for models or annotations, optionally including hidden elements and capping results with a limit.
Instructions
Get elements from the current active view in Revit. You can filter by model categories (like Walls, Floors) or annotation categories (like Dimensions, Text). Use includeHidden to show/hide invisible elements and limit to control the number of returned elements.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of elements to return | |
| includeHidden | No | Whether to include hidden elements in the results | |
| modelCategoryList | No | List of Revit model category names (e.g., 'OST_Walls', 'OST_Doors', 'OST_Floors') | |
| annotationCategoryList | No | List of Revit annotation category names (e.g., 'OST_Dimensions', 'OST_WallTags', 'OST_TextNotes') |