Toggling advanced options via script?

I’m looking for a way to toggle the Rhino.Options.Advanced.UseCompressionWhenSaving in the advanced tab of options. Not sure how…

Any insight would be great.

Hi @donglnap,

There isn’t a way of setting this from RhinoCommon, sorry.

– Dale

Hi @donglnap, the below should work:

import Rhino
settings = Rhino.PlugIns.PlugIn.GetPluginSettings(Rhino.RhinoApp.CurrentRhinoId, False)
s = settings.GetChild("Options").GetChild("Advanced")