Code Red > AutoLISP (Vanilla / Visual)
Bind lisp needed
hudster:
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
Fuccaro:
I use AutoCAD 2004 and this form is working for me:
--- Code: ---(command "saveas" "" "c:\\test.dwg")
--- End code ---
Sure, you will replace the TEST.DWG with something like
--- Code: ---(strcat "c:\\my_folder\\" (getvar "dwgname"))
--- End code ---
(this is untested)
hudster:
brilliant, thanks very much.
Fuccaro:
:D
burn1050:
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?
Navigation
[0] Message Index
[#] Next page
Go to full version