Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-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
Jan 26, 2005
21
0
0
i wanna know how to load a lisp so that whenever i open a drawing or a project it loads it automatically
 
Replies continue below

Recommended for you

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.
Back
Top