.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

netload lsp path issue

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
kcimos
575 Views, 2 Replies

netload lsp path issue

this LSP code

 

(defun c:VA00()
 (command "netload" "C:\Acad Auto-KPFF/objectARX_Projects/DLL/vbPaste.dll" "VA00")
 (princ)
 )

 works.

 

(I have scores of commands that follow this LSP netload format.)

 

unless I insert a block. (for example from C:\AAA-Stuff).

which in that case I will get the following error on the command line:

 

The system cannot find the file specified.
File name: 'file:///C:\AAA-Stuff\Acad Auto-KPFFobjectARX_ProjectsDLLvbPaste.dll'

 

note the difference in the file path.

 

also, when I first open autocad & I'm in the default drawing1.dwg,
 I'll get the same error with a different path:

 

The system cannot find the file specified.
File name: 'file:///C:\Users\ssomick\Documents\Acad Auto-KPFFobjectARX_ProjectsDLLvbPaste.dll'

 

actually, the only time this works, is if I open a drawing from the network. if I subsequently insert a block, or open a drawing from my C: I get similar file not found errors.

 

 

anyone know why my path is getting mutilated?

2 REPLIES 2
Message 2 of 3
conormccartney3897
in reply to: kcimos

Not sure how that path was working for you before, but try changing it all double backslash. \\
Message 3 of 3
kcimos
in reply to: conormccartney3897

interesting.

thanks.

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost