pvd Posted March 3, 2010 Posted March 3, 2010 Hi guys, Is it possible to load LISP's into autocad automatically when it starts up so you don't have to load them with each drawing you open? I'm very new on this and so far i just type (load "lisp-file") on the commandline for each drawing I'm in. Thank you very much Quote
ReMark Posted March 3, 2010 Posted March 3, 2010 Yes it is. However the method varies from individual to individual. The topic has been covered before. I suggest you either look at the list of similar threads below, do a search on "load lisp file" or check out the AutoCAD FAQ section and look under Customization. Thanks. Quote
Freerefill Posted March 3, 2010 Posted March 3, 2010 You can add them to the Startup Suite (type "appload") or you can load them manually by placing the (load ...) function in your acaddoc.lsp file (this may be modified to include the date of your version of AutoCAD). I would guess some "leet" LISPers would place theirs in the acaddoc.lsp file, probably for no other reason than it's "cooler," or for added security, but your Startup Suite is a much easier option to contend with, so I would recommend that. Quote
pvd Posted March 3, 2010 Author Posted March 3, 2010 Thanks guys, I found an earlier thread where the Startup Suite-thing has been explained before. For people who have this same question, look here: http://www.cadtutor.net/forum/showthread.php?t=43905&highlight=load+lisp+file Thanks again! Quote
rkmcswain Posted March 3, 2010 Posted March 3, 2010 Forget the startup suite, and simply add your load calls to "acaddoc.lsp". Example (load "mylisp") (load "\\\\server\\share\\path\\mylisp2") (princ "\nAcaddoc.lsp loaded ") Quote
alanjt Posted March 3, 2010 Posted March 3, 2010 Forget the startup suite, and simply add your load calls to "acaddoc.lsp". Example (load "mylisp") (load "\\\\server\\share\\path\\mylisp2") (princ "\nAcaddoc.lsp loaded ") Don't forget to fill the second variable. Command: (load "blah.lsp") Error: LOAD failed: "blah.lsp" Command: (load "blah.lsp" nil) nil Command: (load "blah.lsp" "Cannot find blah.lsp") "Cannot find blah.lsp" Quote
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.