@menno wrote:
Setting the autosave filename
When I try to set the auto save file name programmatically using RhinoCommon’s
Rhino.ApplicationsSettings.FileSettings.AutoSaveFile
, the value chosen does not appear in the autosave file dialog box in the settings.
When using the “old” way, using Rhino_DotNET, settingRMA.RhinoApp.Settings.FileSettings.AutosaveFile
does result in the desired outcome: a new auto-save file name.Shared setting ?!
Another observation w.r.t. the auto-save filename: if my plug-in (using the old Rhino_DotNET approach) sets the autosave file name, a second instance of Rhino will also use that autosave filename. UNLESS the first instance has the options dialog open on the Files page, then the second instance will get another autosave filename. This seems a bit fishy…
But the main point I’m trying to make here is that having a shared setting for autosave filename is rather dubious: let’s say instance 1 crashes, but instance 2 was the last to save to the shared autosave file: work from instance 1 is totally lostI very much would like each instance of Rhino to be able to have its own, private autosave file. Then each instance can crash and work can be recovered.
Posts: 1
Participants: 1