Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to load a lisp automatically everytime

Status
Not open for further replies.

bigplc

Civil/Environmental
Joined
Jan 26, 2005
Messages
21
i wanna know how to load a lisp so that whenever i open a drawing or a project it loads it automatically
 
bigplc,

you can appload a lisp with different ways.
Here's one: Put the *.lsp into a supportfolder-> "_appload" -> Startgroup, contents...

Lothar

ADT 2004
ACAD 2002
 
You can also add your lisp program to the your Acad.lsp, which is loaded automatically (if acad is set to do that).

You can also add a startup command to the acad.lsp like this:

(DEFUN S::Startup ()
(load"dothis.lsp")
)

Place at the very beginning of the acad.lsp file.

In options, you have to specify that acad.lsp is loaded with each drawing.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top