Rhino 7 - how to change background color via c#s

Hi all!

How to change the background color of the current active viewport via c#?
(macro, rhinoscript or python are fine too)

Not talking about rendered mode, but for modes like shaded or wireframe.

Thanks in advance.

In Python it would be:

import Rhino as rc
rc.ApplicationSettings.AppearanceSettings.ViewportBackgroundColor = SomeColor
2 Likes

That’s it! Thanks!

1 Like

I found some useful information about the color of Appearance, so I will include a link to it.

1 Like