This is probably a simple question how do I change the background to white?
Options>Appearance>Colors⌠You might also want to modify your grid colors if you use the grid (same place). --Mitch
thanks for the help. The mistake I was making is when you first click on appearance there is a background on thaat page which I had set to white.but I think its refering to text rather than the background of the viewport
That one is setting the background color of the command prompt - the box where the commands and their feedback are printed.
What am I missing here. I changed it to white for one purpose, and now want to change it back to gray, as my client has a bunch of yellow layers that I can barely see. Iâm changing background back to gray but itâs still showing white. How did I break it? I even tried restarting in case it needed to reinitialize or something, no luck.
Hello - yeh⌠the viewport background color set at the application level can be overriden by a display mode - see the Display panel for the current display mode settingsâŚ

-Pascal
Ah yes thank you. That, is how I broke it 
As of June 19th (2021) and Rhino V7 changing background color from gray to white
view >>> display option >>> rhino options >>> appearance >>> color
Thank you so much omg!!!
I have to make this change regularly. Des someone know how to write a macro for this? (change to white - change to default gray)
ah thanks was trying to work out what I had done
Hi, have you figured out about macro?
Hi -
The easiest would probably be to create a copy of the display mode and use the SetDisplayMode command to use it in a viewport.
-wim
I write a simple python code:
import Rhino
import System.Drawing
def layout_change(color):
# Get the current appearance settings
appearance_settings = Rhino.ApplicationSettings.AppearanceSettings
# Create a new color using the RGB values
new_color = System.Drawing.Color.FromArgb(color[0], color[1], color[2])
# Set the page view paper color
appearance_settings.PageviewPaperColor = new_color
# Specify the RGB color values (e.g., WHITE)
color_rgb = (255, 255, 255)
layout_change(color_rgb)
I have changed âlayoutâ from grey to white⌠but for âshaded viewâ (only) it still only shows grey no matter what ?
what am I doing wrong ? this is a new issue I have never had before btw
edit : seems to be related to using a named view (based on Cplane)
EDIT : PLEASE IGNORE
I realise there was a large element in the background of the model which was shaded and causing the issue
If itâs still relevant, I made a button to change the background color. Inspired by Maya.
CycleBackground.py (1.3 KB)
ResetBackground.py (583 Bytes)
macOS
! _-RunPythonScript â/Users/username/yourScriptLocation/XYZ.pyâ
Windows
Example Disk F!
! _-RunPythonScript âF:/CAD/Rhino/Scripts/XYZ.pyâ
Had this for quite awhile⌠As it changes the general background color, one disadvantage is that it does this instantaneously for all instances of Rhino that one has open at the time. OTOH, I made it so that it re-calculates the grid colors based on the background color chosen, so that they are subtly lighter (for darker backgrounds) or darker (for lighter backgrounds) than the background.






