color_elements
Color elements in Revit views by category and parameter values to visually differentiate data groups for analysis and presentation.
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') | |
| 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 | |
| customColors | No | Optional array of custom RGB colors to use for specific parameter values |