Acad.lisp startup

Edward Bagby

Usenet Archive
Joined
Aug 5, 2003
Messages
44
Reaction score
0
I placed the following line of code in my acad.lsp start up file

(vl-vbarun "[path]")

when I have autocad reading acad.lsp only when autocad is opened, the line runs fine. If I have autocad set to run acad.lsp everytime a drawing is opened it seems to get stuck on this line and I have to shut down autocad. Why would this be happening?!?

I'm using AutoCAD 2000i

Thank you very much,
Edward
 
That did not seem to work.
I'm curious, what did you think that would do?
The line runs fine when autocad is initially opened but not in subsequent openings of autocad.

Edward
 
Try this
;you can make the variable name anything you want--just make sure ;that it's something that WON'T be over-written later. (if (not Bagby:VBA_apploaded)(progn(setq Bagby:VBA_apploaded 1)(vl-vbarun "[path]")))
 

Latest threads

Back
Top