Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Automatically loading Lisp Routines

0 views
Skip to first unread message

Doug Barr

unread,
Sep 20, 2001, 11:50:41 AM9/20/01
to
If you're starting the app off a menu, make the menu read:
[NAME]^C^C(if (not c:LISP)(load "LISP"))LISP
My menu has dozens of these. Then the lisp isn't autoloaded every session,
only on demand.
-doug
(LISP being the name of the "LISP.LSP" file)

"joelrob" <north...@earthlink.net> wrote in message
news:f081...@WebX.maYIadrTaRb...
Sorry, it's AutoCAD R14. Should have included that in my original post.


Cliff Middleton

unread,
Sep 20, 2001, 1:21:15 PM9/20/01
to
Putting (load <filename.lsp>) statements into your acad.lsp will load the
file whether you ever use it or not. This isn't a problem for most, but as
your library grows you may want to load the files only if the function is
called. You can do this by using (autoload <filename.lsp> '("func1"
"func2")) calls instead of (load ...) in your acad.lsp file.
--
Cliff

"joelrob" <north...@earthlink.net> wrote in message
news:f081...@WebX.maYIadrTaRb...

| worked perfectly, thanks
|


Scribble

unread,
Sep 20, 2001, 10:40:53 PM9/20/01
to
I have used this for some time now with great success on my single user
machine, but when I tried the same approach on multiple machines on a
network with lisp files on a network drive it doesn't seem to work.
I have added the path to the support file search list in "options" which
works fine to insert blocks etc but doesn't seem to work for (autoload)
Anyone got an answer?
cheers
Steve

Cliff Middleton <cmidd...@generalbroach.com> wrote in message
news:D39E8DC896E6B7A2...@in.WebX.maYIadrTaRb...

Paul D

unread,
Sep 20, 2001, 11:17:59 PM9/20/01
to
I use autoload in our company menus on the server and they all work fine.

Scribble <scri...@iinet.net.au> wrote in message
news:6BE6689AEDACB868...@in.WebX.maYIadrTaRb...

Cliff Middleton

unread,
Sep 21, 2001, 7:54:01 AM9/21/01
to
If on the network you simply get the "Unknown command" message I would guess
that the file containing the autoload calls is not being loaded.
If autoload can't find the file you will get a message something like, "The
file <whatever> (.lsp/.exe/.arx) was not found in your search path folders.
Check the installation of the support files and try again".
--
Cliff

"Scribble" <scri...@iinet.net.au> wrote in message
news:6BE6689AEDACB868...@in.WebX.maYIadrTaRb...

0 new messages