Rhino.Display.DisplayModeDescription.GetDisplayModes() will give me all the display modes. How to find out which one is currently active?
Hi Jacek,
Check the display mode of your active viewport:
import Rhino
actViewPortDM = Rhino.RhinoDoc.ActiveDoc.Views.ActiveView.ActiveViewport.DisplayMode.LocalName
print actViewPortDM
Worked like a charm. Thanks