Skip to content

Commit 373faa5

Browse files
committed
Add color management functionality and enhance route registration
- Introduced a new module `colors.py` for managing color operations on Revit elements, including functions for generating distinct colors, gradients, and handling parameter values. - Updated `startup.py` to register new color-related routes, including `color_splash`, `clear_colors`, and `list_category_parameters`. - Improved error handling and logging throughout the new color management functions. - Ensured compatibility with existing parameter extraction methods for better integration.
1 parent 992bd3f commit 373faa5

File tree

4 files changed

+1310
-60
lines changed

4 files changed

+1310
-60
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,13 @@ The current implementation provides these key capabilities among others:
4141
- Set rotation and orientation
4242
- Apply custom properties to the placed elements
4343

44+
4. **Color Splash** - Visualize data through color coding:
45+
- Color elements by parameter values with distinct hues
46+
- Use gradient coloring for numerical data
47+
- Custom color schemes with hex values
48+
- Clear color overrides to restore default appearance
49+
- List available parameters for any category
50+
4451
---
4552

4653
![Claude listing model elements in the Desktop interface](images/list_model_tool.png)

0 commit comments

Comments
 (0)