Trouble With Network Address

Started by jnestes, March 02, 2020, 04:54:42 AM

Previous topic - Next topic

jnestes

So Im new to OpenDcl but have a bit of experience with Autolisp. But I am at a loss here. With autolisp all I had to do to get a network address to work was to add extra "\\" at the start of the address but for some reason it is not working this time. I am trying to make a much more efficient insert command so that the dialog does not dissappear everytime you click insert, and it works. but only if i specify the network location using a drive letter. This is an issue because the drive letter changes for every user that would be using this hence my attempt at using the network address. I am using AutoCad Mech 2019. I have attached the lisp and the opendcl project files, if someone could help out here that would be fantastic.

Best Regards,
Jesse Estes

BIG-AL

If its a case of just user gets a disk ID then use (getenv 'username) and a cond then set drive letter.