C# doc.Views.ActiveView.CaptureToBitmap background color Rhino 5.0

Is there any way to change the background to a solid color using RhinoCommon in R5 ? I have to change it before calling CaptureToBitmap.

Hi @MateuszZwierzycki,

Use AppearanceSettings.ViewportBackgroundColor.

–Dale

This will only work if the current DisplayMode background is set to Use Application Settings… any workarounds?

Hi @MateuszZwierzycki,

It doesn’t look like this display mode property can be accessed from RhinoCommon. I’ve added this to the to-do pile.

https://mcneel.myjetbrains.com/youtrack/issue/RH-55138

– Dale

1 Like