Thursday, July 26, 2007

MOVEBAK for AutoCAD

This ExpressTools command for AutoCAD changes the destination directory for BAK files. Instead of ending up in the same directory as the DWG file the BAK file can be placed in another directory.

Command: MOVEBAK
New value for MOVEBAK, or . for none <>: d:\temp

Command: _QSAVE
Unable to transmit selected drawing file. (I have no idea why this message comes, the bak file is actually placed in d:\temp)

Command: MOVEBAK
New value for MOVEBAK, or . for none <d:\temp>: .

Here is how you can set the path using AutoLISP:
(setenv "AcetMovebak" "c:\\temp")

3 comments:

  1. >>
    Command: _QSAVE
    Unable to transmit selected drawing file. (I have no idea why this message comes, the bak file is actually placed in d:\temp)
    >>

    tools/autolisp/autolispeditor

    open movebak.lsp

    remove "Not a directory: %1"

    but leave ""

    this way, no annoying mssgs wil be displayed :P

    Greets, Maleficen

    ReplyDelete
  2. Is there a way to define the movebak file path in the lisp command for a networked user?

    D:\Documents and Settings\USERNAME\local settings\ temp

    I want to create a button that will automatically move the bak file to the location defined above. The problem is that the USERNAME is variable.

    ReplyDelete
  3. (getenv "username") will return the user name. (getenv "temp") will return the whole path.

    ReplyDelete

Some of the latest blog posts

Subscribe to RSS headline updates from:
Powered by FeedBurner