LISP not launching Macro when hosted in network drive

LISP not launching Macro when hosted in network drive

Anonymous
Not applicable
502 Views
3 Replies
Message 1 of 4

LISP not launching Macro when hosted in network drive

Anonymous
Not applicable

Dear colleagues please help me with this bug that is driving me crazy.

 

I have a routine (.lsp) that launch a macro (.dbd). it works fine if i host the file in my local drive but when i relocate the routine on the network drive that i share with my coworkers the routine do nothing. do you know why? 

 

the route in the lisp is my network path

 

i have add the network folder as a Trusted Location in Autocad 

 

im using Autocad 2016

 

thanks!!

 

dropbox link to the routine

 

(defun c:OBSRENUM ()
	(VBA-LOADIT "O:\\Cad\Operators Files - Re\\OBS Acad Tools\\CAD Scripts\\OBS_RENUM.dvb" "renum")
)

(defun VBA-LOADIT (ProjName Macro)

(if (findfile ProjName)

   (progn

      (vl-vbaload ProjName)

      (vl-vbarun Macro)

   );progn

);if

(princ)

);defun

(princ)
0 Likes
Accepted solutions (2)
503 Views
3 Replies
Replies (3)
Message 2 of 4

hmsilva
Mentor
Mentor
Accepted solution

Hi

try to change

(VBA-LOADIT "O:\\Cad\Operators Files - Re\\OBS Acad Tools\\CAD Scripts\\OBS_RENUM.dvb" "renum")

to

 

(VBA-LOADIT "O:\\Cad\\Operators Files - Re\\OBS Acad Tools\\CAD Scripts\\OBS_RENUM.dvb" "renum")

 

Hope this helps,
Henrique

EESignature

0 Likes
Message 3 of 4

Anonymous
Not applicable

Jaajajaja.. what a rookie mistake.. thanks!!! you should see my face when i check your red "\"

 

 

thanks a lot

0 Likes
Message 4 of 4

hmsilva
Mentor
Mentor
Accepted solution

@Anonymous wrote:

Jaajajaja.. what a rookie mistake.. thanks!!! you should see my face when i check your red "\"

 

 

thanks a lot


You're welcome, sinobas
Glad I could help

Henrique

 

EESignature

0 Likes