Community
Civil 3D Forum
Welcome to Autodesk’s Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

help stop lisp from running every time i open a dwg

6 REPLIES 6
Reply
Message 1 of 7
cadman33619
2308 Views, 6 Replies

help stop lisp from running every time i open a dwg

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

6 REPLIES 6
Message 2 of 7

I will usually demand load such programs by using the autoload function in lisp.  

 

http://www.lee-mac.com/autoloading.html#autoload

 

I rarely have time to post. If what I post helps please use Accept as Solution / Like when appropriate.

Check out my Civil 3d blog at: http://c3dk.com/
Message 3 of 7
rkmcswain
in reply to: cadman33619

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?

R.K. McSwain     | CADpanacea | on twitter
Message 4 of 7
AllenJessup
in reply to: cadman33619

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

Message 5 of 7
troma
in reply to: AllenJessup

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

Message 6 of 7
AllenJessup
in reply to: troma

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

Message 7 of 7
wdprice3
in reply to: cadman33619

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.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


Autodesk Design & Make Report