Jump to content

Automatically Load Lisps


BILL WILLIAMS

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...