What is the correct (preferred) way to store data for custom render engine?
As far I can see I have at least three options:
Store it in a custom container and read/write it during plugin ReadDocument/WriteDocument functions.
Store as UserData (Rhino.RhinoDoc.ActiveDoc.RenderSettings.UserData)
And in the example “SampleCsCustomRednerSettingsSections” in the code it stores it in a data object (wich comes somehow from IRdkViewModel???):
GetData(Rhino.UI.Controls.DataSource.ProviderIds.RhinoSettings, false, true) as RhinoSettings;
I am really not sure where it saves the data actually…
Thanks in Advance!