ERROR STARTUP LOAD

ERROR STARTUP LOAD

seabrahenrique
Advocate Advocate
1,933 Views
3 Replies
Message 1 of 4

ERROR STARTUP LOAD

seabrahenrique
Advocate
Advocate

I have a lisp to load my DVB file:

 

(defun S::STARTUP()
(VL-VBALOAD "C:/FazProjetoCAD/Código/FazProjetoCAD.dvb")
)

 

This error is ocurring:

 

erro.png

 

What it can be?

 

0 Likes
Accepted solutions (1)
1,934 Views
3 Replies
Replies (3)
Message 2 of 4

dlanorh
Advisor
Advisor
Accepted solution

What version and flavour of Autocad are you using?

 

Does (command "_-vbaload"   "C:/FazProjetoCAD/Código/FazProjetoCAD.dvb") work on the command line?

I am not one of the robots you're looking for

0 Likes
Message 3 of 4

seabrahenrique
Advocate
Advocate

I thought the same thing at the moment of your reply!

 

It worked! Thanks 🙂

0 Likes
Message 4 of 4

dlanorh
Advisor
Advisor

Your are using a visual lisp call in your startup => (VL-VBALOAD "C:/FazProjetoCAD/Código/FazProjetoCAD.dvb")

 

so if it's not loaded anywhere else try putting (vl-load-com) as the first line in the startup.

(defun S:STARTUP()
(VL-LOAD-COM)
(VL-VBALOAD "C:/FazProjetoCAD/Código/FazProjetoCAD.dvb")
)

I am not one of the robots you're looking for

0 Likes