color_elements
Assign distinct colors to elements in Revit views based on category and parameter values, enabling visual grouping and analysis. Customize colors or use gradients for enhanced clarity.
Instructions
Color elements in the current view based on a category and parameter value. Each unique parameter value gets assigned a distinct color.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
categoryName | Yes | The name of the Revit category to color (e.g., 'Walls', 'Doors', 'Rooms') | |
customColors | No | Optional array of custom RGB colors to use for specific parameter values | |
parameterName | Yes | The name of the parameter to use for grouping and coloring elements | |
useGradient | No | Whether to use a gradient color scheme instead of random colors |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from Revit MCP Server
- ai_element_filter
- color_elements
- create_line_based_element
- create_point_based_element
- create_surface_based_element
- delete_element
- get_available_family_types
- get_current_document_info
- get_current_view_elements
- get_current_view_info
- get_selected_elements
- open_document
- operate_element
- send_code_to_revit
- tag_all_walls