.NET

Reply
Valued Contributor
kcimos
Posts: 91
Registered: ‎02-18-2010
Message 1 of 3 (120 Views)
Accepted Solution

netload lsp path issue

120 Views, 2 Replies
06-09-2014 09:47 AM

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?

Not sure how that path was working for you before, but try changing it all double backslash. \\
Mentor
conormccartney3897
Posts: 187
Registered: ‎08-18-2010
Message 2 of 3 (99 Views)

Re: netload lsp path issue

06-09-2014 12:31 PM in reply to: kcimos
Not sure how that path was working for you before, but try changing it all double backslash. \\
Valued Contributor
kcimos
Posts: 91
Registered: ‎02-18-2010
Message 3 of 3 (92 Views)

Re: netload lsp path issue

06-09-2014 01:22 PM in reply to: conormccartney3897

interesting.

thanks.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.