BILL WILLIAMS Posted December 9, 2009 Share Posted December 9, 2009 I would like to automatically load the lisps I use on a daily basis (there are many) without using the startup suite. I have an autocad.lisp with all my lisp programs. The Acad.lsp program, found in Program Files\Autodesk\MDT2008\Support, doesn't work. I am quite new to this type of stuff. I have always used the startup suite but that has it's limits. Attached is my Autocad.lsp program. I appreciate any help Bill Acad.lsp Quote Link to comment Share on other sites More sharing options...
rkmcswain Posted December 9, 2009 Share Posted December 9, 2009 By default "Acad.lsp" only loads once, at application startup, and lisp routines are loaded into memory on a per-drawing basis, so they probably work in your initial drawing, but not subsequent ones. Fortunately, AutoCAD provides a way to do what you want. Rename your file to "acaddoc.lsp", and it will load each time a drawing is loaded (assuming it's the first file of this name in the support file search path) To make future migration easier... 1. Create a new directory like "C:\CADSTUFF", and put "acaddoc.lsp" in there 2. Add "C:\CADSTUFF" to the TOP of your support file search path. Then in the future, if you upgrade or reinstall on the same machine, you only have to do #2. If you move to a new machine, simply copy "C:\CADSTUFF" over and do #2. This saves you from getting your 'personal' files mixed in with the program files. Quote Link to comment Share on other sites More sharing options...
BILL WILLIAMS Posted December 9, 2009 Author Share Posted December 9, 2009 Hopefully I have done this right Mr. McSwain. I made a new file in "Support", called CASPER which put it at the top of "Support" and added the Acaddoc.lsp to it. Is that it? And if so many, many thanks! 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.