Yes, NOW I remember that this was more convoluted than simple search in RhinoCommon help! Didn’t use it ever since that one. Thanks for the refresher and sorry abount asking the same question again and again.
import Rhino
settings = Rhino.PlugIns.PlugIn.GetPluginSettings(Rhino.RhinoApp.CurrentRhinoId, False)
s = settings.GetChild("Options").GetChild("OpenGL")
s.SetInteger("SkylightShadowResolutionScale", 2)
s.SetInteger("SkylightShadowResolutionScaleDynamic", 3)
above works
–jarek