TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: hudster on August 04, 2004, 06:01:31 AM
-
I'm looking for a lisp that will bind all xrefs in a drawing, purge it, audit it and then save it to a desired location.
I can manage the bind purge and audit bit, but it's the save as function i'm falling down on.
Can someone post a piece of code that will allow me to save a drawing with the same name to a specified folder.
Cheers In advance.
Andy
-
I use AutoCAD 2004 and this form is working for me:
(command "saveas" "" "c:\\test.dwg")
Sure, you will replace the TEST.DWG with something like
(strcat "c:\\my_folder\\" (getvar "dwgname"))
(this is untested)
-
brilliant, thanks very much.
-
:D
-
did you ever make a lisp or code for this because if you did then that would be brilliant! would you mind sharing it if you did?
-
This might help u :