L0User Posted December 4, 2012 Posted December 4, 2012 Hello I'm new to LISP programming, but our office needs a LISP which saves the open .dwg file after like 10 minutes. What would be great if the LISP would work like this: -Every 10 minutes it saves the file to a certain directory (has to be changable in the LISP) -The LISP will save up to 5 times to a new file, after the max number it will overwrite the oldest save file. Can anyone write something like this for me? Kind Regards L0User Quote
ReMark Posted December 4, 2012 Posted December 4, 2012 So you open a drawing to explore an idea and during that time your autosave program kicks in and you end up saving some changes that you may not have wanted. Now what? To quote Kenny Ramage (Afralisp): The Autosave feature in AutoCAD does not save the drawing you are working on, but saves a copy of your drawing to a directory stored in the Savefilepath system variable. This drawing does not have the same name as your drawing file and can be overwritten with subsequent Autosaves. Quote
ReMark Posted December 4, 2012 Posted December 4, 2012 You can build your custom autosave routine off of Peter Jamtgaard's VLR_AUTO_SAVE.LSP program referenced in Mike Perry's post here... http://forums.augi.com/archive/index.php/t-27428.html Another option. Look at Andy Hudson's autosave program posted at The Swamp. http://www.theswamp.org/index.php?topic=4735.0 Quote
L0User Posted December 4, 2012 Author Posted December 4, 2012 Thanks for your reply! I just had a thought about it. Is there a LISP allready written, which will work like this: The .dwg file is located under: C:\Users\XXXX\Documents The saves should be saved there: C:\Users\j.hemmings\Documents\Backups So the .dwg file I'm working on wont be autosaved by the LISP, the LISP will have this rule: LISP will save up to 5 times to a new file, after the max number it will overwrite the oldest save file. The "Save command" will be activated after 10 commands. Does something like this exist? Kind Regards Quote
ReMark Posted December 4, 2012 Posted December 4, 2012 Skip the lisp and just get in the habit of saving when you feel you have made enough progress to justify doing so. Why do you need five iterations of the drawing saved? Quote
L0User Posted December 4, 2012 Author Posted December 4, 2012 A lot of people of my office simply forget to save the file for about 1-2 hours and then the AutoCAD crashes and all is lost, as AutoCADs Autosave doesnt work how it should be (Wont allways save). It would be cool to have 5 different files, as there would be saved files of half an hour ago etc. If there is something which will work only with 1 file, that would be perfect for me too. Quote
ReMark Posted December 4, 2012 Posted December 4, 2012 And how many users are there exactly? Is everyone saving to a network drive or locally to their own computer? Quote
L0User Posted December 4, 2012 Author Posted December 4, 2012 There are 30+ people effected by that saving problem. And everybody has his own networkdrive which is backuped. Quote
ReMark Posted December 4, 2012 Posted December 4, 2012 Did you check out the links I previously provided? How many of these users have a problem with saving a drawing? How often are systems crashing? What have you done to troubleshoot the problems? How many drawings have you lost over the past 3 months? 6 months? Year? Quote
L0User Posted December 4, 2012 Author Posted December 4, 2012 Yes I've checked the links before, but they cant save to a different directory than the .dwg. We all have problems with the autosave/autobackup our Autocad crashes so many times (min 2 times a day) We are thinking it comes from a programm called BaCad... We lost last week about 10 hours of work, whats realy frustrating... Quote
ReMark Posted December 4, 2012 Posted December 4, 2012 Can't save to a different directory? Not even if you edit the path under Options > Files > Automatic File Save Location? Do you automatically create a backup copy (.bak) with each save? Quote
L0User Posted December 4, 2012 Author Posted December 4, 2012 I'm trying this one at the moment: Jeff Pilcher If I type in setauto, it should ask me if I want to enable or disable the Autosave, but it doesnt... The other LISP wont work either... For your information: We are using AutoCAD 2011 and not every user has admin rights. Quote
BIGAL Posted December 5, 2012 Posted December 5, 2012 What about CONFIG set your save time to say 2 mins it auto creates a backup. Quote
L0User Posted December 5, 2012 Author Posted December 5, 2012 What about CONFIG set your save time to say 2 mins it auto creates a backup. Thats the problem, when we enable the backup, AutoCAD will randomly untick the backup... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.