PDA

View Full Version : AutoCAD 2007 SAVEAS command line



noochstyle
31st Jan 2007, 08:47 pm
Is there a way to save as from command line? I want to change the file name on the command line without having the window popup?

lpseifert
31st Jan 2007, 08:53 pm
First set your filedia=0

noochstyle
1st Feb 2007, 03:33 pm
Haha, okay. Can I do it with a simple script/button or is it going to have to be LISP or Diesel? Any idea?

dbroada
1st Feb 2007, 03:39 pm
you just type it.

if you want it on a button you could just have FILEDIA;0;

and another with FILEDIA;1; to turn it back on

lpseifert
1st Feb 2007, 03:55 pm
(defun c:sa ()
(setvar "filedia" 0)
(command "saveas")
(setvar "filedia" 1)
)

dbroada
1st Feb 2007, 03:58 pm
ahh, misunderstood what was being asked.

in script


FILEDIA
0
SAVEAS
{other options]
FILEDIA
1

noochstyle
1st Feb 2007, 04:20 pm
You guys are way to good at this! Thank you looking into what other options i can screw around with now. Thank you!