algorithmic modeling for Rhino
Dear reader,
We're working on an automated integration testing framework which includes a step in which a grasshopper definition can be loaded.
Is there a way to ignore the recovery file dialogue or better not consider the recovery file at all during loading? It is a problem for us because it can potentially block the automated process.
Looking forward for a solution
Regards, Wei Pien
Tags:
No, but you can delete recovery files if you've got code running, or you could rename files you load. Recovery files are stored in %AppData%\Grasshopper\AutoSave
Or, if you have code running inside Grasshopper, you can reach the folder via Grasshopper.Folders.AutoSaveFolder;
Also autosave files are associated with regular files using a hash of the full filename. So, if you move a file to a different folder, or rename it, the autosave association will be broken.
If you're running C# or some other language as a plugin, it will be trivial to just delete either all files in the autosave folder, or the entire folder. If you don't want to mess with the autosave data, you can rename the autosave files by changing the extension, and then change it back again when you're done with your automated process. Deleting, moving or renaming files is pretty trivial in any language.
Yes, various 'special' folders will have different uris on different versions of Windows. Which is why you always ask Windows where %appdata% is for the current user, then append the \Grasshopper\Autosave\ subfolders and you should always end up at the correct location.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by