Check if gumball is enabled via C#/Grasshopper

Hi,
Does anyone know if it’s possible to check if the Gumball is currently enabled in Rhino and then set it on or off? I found some stuff in the ModelAidSettingsState class that relate to the ortho state, etc, and expected to find the Gumball there… The GumballDisplayConduit would seem to be another good place to look but I can’t find a method that returns the current GumballDisplayConduit, for example, so that I can set its “Enabled” property.

Thanks!

Does this help?

https://developer.rhino3d.com/api/RhinoCommon/html/P_Rhino_ApplicationSettings_ModelAidSettings_AutoGumballEnabled.htm

  • Dale

Oops! Yes.