Author |
Topic Search Topic Options
|
germanbarry
Groupie
Joined: 14.Apr.2011
Location: Germany
Using: AutoCAD 2011
Status: Offline
Points: 33
|
Topic: auto-loading lisp not working? Posted: 27.Apr.2011 at 10:37 |
i have 2 lisps that i want to autorun so as to not have to load them every new CAD session. I followed advice and typed in APPLOAD and added the two lisps to the startup suite, but when starting a new session those two lisps sitting in there seem to be ignored. I have them saved on my H drive - is that ok?
if there's another basic/easy way to get them autoloaded then please let me know!
|
 |
John Connor
Senior Member
Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
|
Posted: 27.Apr.2011 at 12:08 |
Two options:
1) via your acad.lsp file
2) via your acaddoc.lsp file
See also: http://lee-mac.com/autoloading.html
Edited by John Connor - 27.Apr.2011 at 12:09
|
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."
<<AutoCAD 2015>>
|
 |
CarlB
Senior Member
Joined: 16.Oct.2009
Location: United States
Status: Offline
Points: 321
|
Posted: 28.Apr.2011 at 00:44 |
What do you mean by "ignored", they are just suppose to load, nothing exciting about that. When you type the command to run them, does that not work? or did you want them to auto load and then run?
|
 |
germanbarry
Groupie
Joined: 14.Apr.2011
Location: Germany
Using: AutoCAD 2011
Status: Offline
Points: 33
|
Posted: 28.Apr.2011 at 09:31 |
CarlB wrote:
What do you mean by "ignored", they are just suppose to load, nothing exciting about that. When you type the command to run them, does that not work? or did you want them to auto load and then run? |
after I added the two lisps to the autoload/appload feature, but upon starting a new session, when i type in the shortcut for them into the commandbar (eg i type MTM for a mtext mask lisp), its not recognised. I then have to re-add them to cad (drag the lsp file into the CAD window for example) for them to work... but dont want to do this every session!
i dont understand why the two lisps i added to the appload feature are not being recognised
|
 |
John Connor
Senior Member
Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
|
Posted: 28.Apr.2011 at 11:44 |
APPLOAD is the command for loading a lisp routine. That's all it is. Nothing more. APPLOAD does not automatically load lisp routines.
|
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."
<<AutoCAD 2015>>
|
 |
CarlB
Senior Member
Joined: 16.Oct.2009
Location: United States
Status: Offline
Points: 321
|
Posted: 29.Apr.2011 at 05:27 |
In your first post you noted "I followed advice and typed in APPLOAD and added the two lisps to the startup suite". The part about adding them to the startup suite (the suitcase item) is key; that is supposed to automatically load them for any opened drawing. You didn't mention "startup suite" in later posts, so I'm wondering if you are doing that part properly?
|
 |
germanbarry
Groupie
Joined: 14.Apr.2011
Location: Germany
Using: AutoCAD 2011
Status: Offline
Points: 33
|
Posted: 29.Apr.2011 at 07:53 |
CarlB wrote:
You didn't mention "startup suite" in later posts, so I'm wondering if you are doing that part properly? |
if i now type in APPLOAD and click on the Contents... or Briefcase icon (within the Startup Suite area of the appload window), I can see my two lisps sitting in there, referenced from my H-drive. However, I tried using both of the lisps in this new cad session only to be prompted with the "unknown command" from the commandbar...
if i go to my Hdrive via a new explorer window, where the lisps are saved, I can drag them into the CAD window and then they're reloaded, but again, only for the current session.
I was under the understanding that after adding the lisps to Contents... or Briefcase icon under APPLOAD, that the they would be auto-loaded at the start of each new session. is that incorrect?
|
 |
John Connor
Senior Member
Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
|
Posted: 29.Apr.2011 at 12:38 |
Have you double-checked that the "path" to your two lisp files is correct?
Have you considered using a different method to auto-load your lisp routines as mentioned in the link to Lee Mac Programming I provided above?
Personally, I use the tried and true acad.lsp method. Hasn't failed me yet.
Edited by John Connor - 29.Apr.2011 at 12:40
|
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."
<<AutoCAD 2015>>
|
 |