Author Topic: loading lisp  (Read 3331 times)

0 Members and 1 Guest are viewing this topic.

danny

  • Guest
loading lisp
« on: November 04, 2004, 03:16:06 PM »
I have set my support path (options/files/support) to a file folder that contains my plot.lsp.  For some reason AutoCad will not load the lisp automatically.  I'm always having to do it via appload.
Does anyone know or have an idea why this may be happening.
Thanx.

ELOQUINTET

  • Guest
loading lisp
« Reply #1 on: November 04, 2004, 03:22:34 PM »
in the same appload dialogue click on startup suite and add it then it will load on startup.

Mark

  • Custom Title
  • Seagull
  • Posts: 28762
loading lisp
« Reply #2 on: November 04, 2004, 03:23:50 PM »
Try putting the file name in the "startup suite". Look under "Tools->Load Application"
TheSwamp.org  (serving the CAD community since 2003)

MikePerry

  • Guest
loading lisp
« Reply #3 on: November 04, 2004, 03:26:41 PM »
Hi

Or for an alternative approach take a look at the following thread -

Lisp routine loader with slides

Have a good one, Mike

danny

  • Guest
loading lisp
« Reply #4 on: November 04, 2004, 03:27:24 PM »
ok. I know I can use the appload and startup suite.  I just thought that if AutoCAD's support path was looking to the folder w/ the lisp, then it would load it automatically.  I guess I'll use the startup suite.
Thanks guys,

M-dub

  • Guest
loading lisp
« Reply #5 on: November 04, 2004, 03:28:18 PM »
Another note,
Are you calling your lisp routine from a key-in or custom button macro?  If you're using a button, you might try this instead of adding it to the Startup Suite...
^C^C(load"C:/Path/LISP.lsp") LISP;

M-dub

  • Guest
loading lisp
« Reply #6 on: November 04, 2004, 03:29:01 PM »
Quote from: danny
ok. I know I can use the appload and startup suite.  I just thought that if AutoCAD's support path was looking to the folder w/ the lisp, then it would load it automatically.  I guess I'll use the startup suite.
Thanks guys,


Actually, I believe you need both...

danny

  • Guest
loading lisp
« Reply #7 on: November 04, 2004, 03:55:23 PM »
M-dub,
I am calling my lisp routine from a button macro.  I've added this
Code: [Select]
^C^C(load"C:/dannyCAD/MENU/plot.lsp")_psi3042
to the macro and I get this
Code: [Select]
(load"C:/dannyCAD/MENU/plot.lsp")_psi3042 nil
at my command line.  Works fine when I have it in the startup suite.
Thanks,[/url]