I often import files from different sources, and depending on their colors they may look better on a white, gray, or black background.
I created three OptionsExport files for the system colors, and three template .3dm files with matching layer colors.
I would like to make three toolbar buttons to switch between these setups:
- white background + matching system colors + matching layer colors
- gray background + matching system colors + matching layer colors
- black background + matching system colors + matching layer colors
Two issues:
OptionsImportalways opens a file selection dialog. Is there a way to run it silently from a script/macro with a known file path?- How can I import/apply layer colors from another
.3dm?LayerStateManagerdoes not seem to update colors for layers that already exist.
What is the recommended way to quickly switch both Rhino system colors and document layer colors between these three setups?