Does anybody know how to set AutoSave settings like SAVETIME & ISAVEBAK in registry directly?
No I've never had the need. What are you trying to accomplish? Changing the registry manually can be a BAD thing so be careful.
But you could hunt down the location.
Do a search (using F3) for "SAVETIME", "AUTOSAVE" etc. See if you can find something that looks right.
Then to be sure that you've got the right location, open acad and change the value to some obscure number (such as 133 or something) and close acad. Did the registry entry update to your new value?
One thing to look out for is that you will probably find that the setting is in the "User" area of the registry.
Don Ireland
Engineering Design Technician
Hi,
Thanks for your reply!
We like to use this option for when your are starting a drawing directly from the explorer. Strangly enough the setting seems not to be set by some users in this way. Since we are only setting the savetime, we think it is not a big thing to do in the registry.... by pushing it.
I did not find SAVETIME in registry...
Greetings,
Hi,
If you like to change savetime variable for example to 10 minutes with starting AutoCAD, so do these steps:
1- open notepad and add this line:
(setvar 'savetime 10)
2-save as acaddoc.lsp in your folder.
3-if your folder is not in support folders list, just add it via
Tools>Options>Files>Support File Search Path>ADD
everytime you open a drawing, SAVETIME will be set to 10 minutes.
hope to help you
Abbas
@aqdam1978 wrote:Hi,
If you like to change savetime variable for example to 10 minutes with starting AutoCAD, so do these steps:
1- open notepad and add this line:
(setvar 'savetime 10)
2-save as acaddoc.lsp in your folder.
3-if your folder is not in support folders list, just add it via
Tools>Options>Files>Support File Search Path>ADD
everytime you open a drawing, SAVETIME will be set to 10 minutes.
hope to help you
Abbas
Correction: (setvar "savetime" 10)
If you don't put the quotes, it's going to throw errors.
Also: I have one caveat to offer.
Be sure there's not already ANOTHER acaddoc.lsp file already in use (possibly in different folder within the support path). If more than one exists throughout the support path then ONLY the FIRST one found will be run.
Don Ireland
Engineering Design Technician
@aqdam1978 wrote:
(setvar 'savetime 10)
and
(setvar "savetime" 10)
are same, just try....
Hmmmm. Learn something new everyday. I never knew that.
Don Ireland
Engineering Design Technician
Dear all,
Thanks for the tips!!
I know about the lisp file ... in fact we have that... but the problem is that this file is not found once the Profile is not used... and if we use an acaddoc.lsp in the main support path of AutoCAD our own acaddoc.lsp is not used when using the Profile... (when it is used)...
So this is the reason why we like to set it in the registry. This is something that can be done centrally every time.
Greetings,
All you'd have to do then is simply take the line of code
(setvar "savetime" 10)
and place it within your existing acaddoc.lsp file, perhaps at the bottom or at the top of the file.
That way it will load along with your other acaddoc functions/commands whilst not requiring any sort of new search path information or new lisp file to be loaded.
Are you saying that your users each (may) have their own acaddoc.lsp file? If that's the case then there are two approaches to make that happen.
Don Ireland
Engineering Design Technician