color_splash
Color Revit elements in a category based on parameter values, assigning identical colors to matching parameter values.
Instructions
Color elements in a category based on parameter values
This tool applies color coding to Revit elements within a specified category based on their parameter values. Elements with the same parameter value will receive the same color.
Args: category_name: Name of the category to color (e.g., "Walls", "Doors", "Windows") parameter_name: Name of the parameter to use for coloring (e.g., "Mark", "Type Name") use_gradient: Whether to use gradient coloring instead of distinct colors (default: False) custom_colors: Optional list of custom colors in hex format (e.g., ["#FF0000", "#00FF00"]) ctx: MCP context for logging
Returns: Results of the coloring operation including statistics and color assignments
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category_name | Yes | ||
| parameter_name | Yes | ||
| use_gradient | No | ||
| custom_colors | No |