I’m looking for some guidance on using the
PersistentSettings class from a Rhino 6 plugin.
I see the API documentation, but it’s not clear to me how to set this object up with defaults and initiate loading and saving. Like, where do I fill in the initial setting keys and values for the very first run, which will then be changed, saved, and loaded in future runs?
At first I was trying to use the regular old WinForms .NET
Properties.Settings.Default class… but soon found that it is not working/supported from the plugin, and that
Rhino.PlugIns.PlugIn contains a
PersistentSettings class of its own. I’d like to use it