CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
Over 1.094.000 registered users (EN+CZ). AutoCAD tips, Inventor tips, Revit tips. Try the new precise Engineering calculator. New AutoCAD 2026 commands and variables.
RSS channel - CAD tips RSS tips
RSS discussions

Discussion Discussion forum

?
CAD discussions, advices, exchange of experience

CAD Forum - Homepage CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.

Please abide by the rules of this forum.
This is a peer-to-peer forum. The forum doesn't replace the official direct technical support provided by ARKANCE for its customers.
How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
  FAQ FAQ  Forum Search Search  Events Events  Register Register  Login Login

Topic Closedauto-loading lisp not working?

 Post Reply Post Reply
Author
germanbarry View Drop Down
Groupie
Groupie


Joined: 14.Apr.2011
Location: Germany
Using: AutoCAD 2011
Status: Offline
Points: 33
Direct Link To This Post 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!
Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post 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>>

Back to Top
CarlB View Drop Down
Senior Member
Senior Member


Joined: 16.Oct.2009
Location: United States
Status: Offline
Points: 321
Direct Link To This Post 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?
Back to Top
germanbarry View Drop Down
Groupie
Groupie


Joined: 14.Apr.2011
Location: Germany
Using: AutoCAD 2011
Status: Offline
Points: 33
Direct Link To This Post Posted: 28.Apr.2011 at 09:31
Originally posted by CarlB 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
Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post 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>>

Back to Top
CarlB View Drop Down
Senior Member
Senior Member


Joined: 16.Oct.2009
Location: United States
Status: Offline
Points: 321
Direct Link To This Post 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?
Back to Top
germanbarry View Drop Down
Groupie
Groupie


Joined: 14.Apr.2011
Location: Germany
Using: AutoCAD 2011
Status: Offline
Points: 33
Direct Link To This Post Posted: 29.Apr.2011 at 07:53
Originally posted by CarlB 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?
Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post 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>>

Back to Top

Related CAD tips:


 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0,154 seconds.