Hello,
I have a simple c# function, this function make a Save every time that one object is “deselect”, the
command that I used is simple:
RhinoApp.RunScript("_Save Path+name", false);
This work ok but,there is a litlle of delay, the script stop until finish the save, is just a few milisec but
make some diference on drawing work.
I try run this script on Thread, but it’s still worse, the save time increases.
The size of the document is always very small, it does not exceed 10/15 objects, circles, rectangles etc., very small.
So, the question is, is there a more efficient way to save the project continuously?
Thanks
rgr
2
Hello @rgr, no, I dont try this, I dont know how to use, do you have some pratical example?
rgr
4
Its part of your activedoc, so basicly:
protected override Result RunCommand(RhinoDoc doc, RunMode mode)
{
doc.Write3dmFile("yourpath", new Rhino.FileIO.FileWriteOptions());
return Result.Success;
}
You can, of course, specify your own FileWriteOptions.
@rgr ,
I see “FileWriteOptions”, I dont want include this save file on the recent files, when I open the rhino,
there is some way?
Thank you
dale
(Dale Fugier)
8
Hi @MatrixRatrix,
I know of no way to keep saves from populating the MRU list.
– Dale