color_splash
Colors elements in a Revit category in the active view by a parameter value so distinct values form visible patterns for ratings, departments, or types.
Instructions
Color elements of a category in the active view by a parameter's value.
Every distinct value gets its own color, which makes patterns (fire ratings, departments, levels, types…) visible at a glance.
Args: category_name: Revit category, e.g. "Walls", "Rooms", "Doors". parameter_name: Parameter to color by; list_category_parameters shows the options. use_gradient: Blend colors along a gradient instead of using distinct colors (best for numeric parameters). custom_colors: Optional hex colors to use in order, e.g. ["#FF0000", "#00AA00"].
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"category_name": "<category_name>",
"parameter_name": "<parameter_name>"
},
"name": "color_splash"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| use_gradient | No | ||
| category_name | Yes | ||
| custom_colors | No | ||
| parameter_name | Yes |