color_elements
Assign distinct colors to Revit elements in the current view based on category and parameter values, with options for gradient schemes or custom RGB colors for clearer visual differentiation.
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 |