As far as I can see, acad2008.LSP should be loaded when autocad starts and acad2008doc.lsp is loaded when a document is opened.
I have added this code to the end of acad.lsp:I put the following code at the end of acad2008doc.lsp:Code:(setvar "filedia" 0) (command "_VBALOAD""print.dvb") (setvar "filedia" 1)The trouble is that when I open another drawing I get an error saying that print.dvb is already loaded but I haven't shut down acad I only opened another file which shouldn't try and load the dvb file again.Code:(defun c:PrintA3() (command "_-VBARUN" "PrintA3") ) (defun c:PrintA4() (command "_-VBARUN" "PrintA4") )
Does anyone know why it is doing this?
Thanks


Reply With Quote

