¿Is it possible to use MOVEBAK to a relative path?
Use .\folderdestination
Instead of C:\folder1\folderdestination
¿Is it possible to use MOVEBAK to a relative path?
Use .\folderdestination
Instead of C:\folder1\folderdestination
You can technically set a relative path, but MOVEBAK won't honor it.
You can technically set a relative path, but MOVEBAK won't honor it.
Since it doesn't accept relative path, as an alternative you can have AutoCAD always run the following code every time you open a dwg:
(if(not(vl-file-directory-p (setq fld(strcat(getvar"dwgprefix")"Backup"))))(vl-mkdir fld))(setenv "AcetMovebak" fld)
Then the backups will be saved under the Backup folder relative to the current folder location of the opened drawing.
You'll also need to redefine the SAVEAS command so that this is invoked after saving the drawing to a new folder location.
Since it doesn't accept relative path, as an alternative you can have AutoCAD always run the following code every time you open a dwg:
(if(not(vl-file-directory-p (setq fld(strcat(getvar"dwgprefix")"Backup"))))(vl-mkdir fld))(setenv "AcetMovebak" fld)
Then the backups will be saved under the Backup folder relative to the current folder location of the opened drawing.
You'll also need to redefine the SAVEAS command so that this is invoked after saving the drawing to a new folder location.
Can't find what you're looking for? Ask the community or share your knowledge.