Skip to main content
Glama

Revit MCP

by revit-mcp

color_elements

Assign distinct colors to Revit elements by category and parameter value, enabling visual differentiation. Supports custom color schemes and gradient options for clearer project visualization.

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

NameRequiredDescriptionDefault
categoryNameYesThe name of the Revit category to color (e.g., 'Walls', 'Doors', 'Rooms')
customColorsNoOptional array of custom RGB colors to use for specific parameter values
parameterNameYesThe name of the parameter to use for grouping and coloring elements
useGradientNoWhether to use a gradient color scheme instead of random colors

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "categoryName": { "description": "The name of the Revit category to color (e.g., 'Walls', 'Doors', 'Rooms')", "type": "string" }, "customColors": { "description": "Optional array of custom RGB colors to use for specific parameter values", "items": { "additionalProperties": false, "properties": { "b": { "maximum": 255, "minimum": 0, "type": "integer" }, "g": { "maximum": 255, "minimum": 0, "type": "integer" }, "r": { "maximum": 255, "minimum": 0, "type": "integer" } }, "required": [ "r", "g", "b" ], "type": "object" }, "type": "array" }, "parameterName": { "description": "The name of the parameter to use for grouping and coloring elements", "type": "string" }, "useGradient": { "default": false, "description": "Whether to use a gradient color scheme instead of random colors", "type": "boolean" } }, "required": [ "categoryName", "parameterName" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/revit-mcp/revit-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server