I have a lisp that i use on occasion so i loaded it with APPLOAD into the startup suite. now it loads and runs every time i open a drawing. how can i stop it from running...but still have it available when i need it (without having to find it and reload it)?
thanks
I will usually demand load such programs by using the autoload function in lisp.
http://www.lee-mac.com/autoloading.html#autoload
You need to figure out what is causing it to load each time.
Is it in the startup suite?
Is it a true ACSII .LSP file, or is it a VLX, FAS, ARX, etc.?
AFAIK, .lsp files cannot be set up for demand load, like ARX files.
Is it part of your "acaddoc.lsp", or any other startup file?
Remove it from the Startup Suite and AppLoad it each time you need it. Or you can put a copy where you can find it easily and just drag it into the drawing.
Allen Jessup
Allen Jessup
Engineering Specialist / CAD Manager
My understanding of the Startup Suite was that it should load the lisp every time, but not run it. That's how it is working for me. Why not use the Startup Suite? Or is this a case of finding the difference between the way it should work and the way it does work?
Mark Green
Working on Civil 3D in Canada
If it runs immediately when loaded. That's most likely the way it written. It test this remove it form the Startup Suite and then drag it in to a new drawing. It it runs immediately, then that's what it's written to do.
You'll either have to keep it out of the Startup Suite or rewrite the lisp so that it doesn't execute immediately.
Allen Jessup
Engineering Specialist / CAD Manager
I'm a bit late to the game, but I just had the same problem and this thread was the first google search result. I figured others with this issue may also see this thread, so I'm posting.
I'm brand new to editing/writing lisps, but I had one that was also in my startup suite that ran with every drawing opening. The problem was whoever wrote it, ended it with a run command ("c:commandname"). I don't know why this was done; maybe older ACAD versions could handle this as the lisp has been around my company for a while... I'm on C3D 2015.