OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: jnestes on March 02, 2020, 04:54:42 AM

Title: Trouble With Network Address
Post by: jnestes on March 02, 2020, 04:54:42 AM
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
Title: Re: Trouble With Network Address
Post by: BIG-AL on March 05, 2020, 07:10:43 PM
If its a case of just user gets a disk ID then use (getenv 'username) and a cond then set drive letter.