Nice to meet you here.
I am trying to get background color of specific rhino viewport using C#.
Here is what I already did:
1: Before I can get background color in “perspective” viewport, I have to get what display mode “perspective” is using. This is done with codes below:
A = Rhino.RhinoDoc.ActiveDoc.Views.Find(x, false).ActiveViewport.DisplayMode.DisplayAttributes.EnglishName;
2: After that I have to get backgroundstyle of “Shaded” displaymode.
I stuck here.
I searched rhinocommon online and tried a few ways. None of them asked for some input or parameter related to “shaded”. They are all somehow “global” settings.
Can anybody help me with this.
Thank you very much!