Load Sequence of Customisations

I don’t know about you, but I sometimes get quite confused about when, or at what point in the load sequence, a certain customisation file is loaded. Recently, I found this list which is most helpful.

Note that it refers to AutoCAD 2005 but should be equally applicable to any version 2000 or above.

the load sequence..

acad.pgp
acad2005.lsp
acad.lsp (if found. loaded only once on startup if ACADLSPASDOC = 0 (default))
acad2005doc.lsp
acaddoc.lsp (if found)
user.mnl (your menu mnl if found)
AutoCAD.mnl (if menu group ACAD loaded)
ADT.mnl (if menu group ADT loaded)
acetmain.mnl (if menugroup EXPRESS loaded) 
(s::startup) see below

acad.lsp by default is loaded once per acad session depending on the value of the ACADLSPASDOC system variable.

acaddoc.lsp is loaded into every drawing.

There is also a special lisp function called s::startup() which you can include in acad.lsp, acaddoc.lsp or a .mnl file. This function is called whenever a drawing is opened. This occurs after the files in the list above have been loaded.

 

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: