Kemion Posted January 24, 2015 Share Posted January 24, 2015 Greetings, I'm collecting lsp files to automate certain tasks to prepare a drawing for use as an XREF background - I've found a few that should serve what I need to do - now I'd like to script everything together in this order: 1. 'Save' command on the current drawing 2. Run a group of lisps in sequence 3. 'SaveAs' to a relative folder with a modified version of the original file name 4. Close the drawing 5. Re-open the original Also, what are some recommended reference books for Autolisp? Quote Link to comment Share on other sites More sharing options...
BIGAL Posted January 24, 2015 Share Posted January 24, 2015 Just write down every step when you do it manually thats a script, I would use a lisp to write the script getting original dwg name + new name, lat line is (command "script" "do1-4") save (load "1")(load "2")(load "3") saveas \\temp\\freds\newstuff\\mynew1 close Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.