Hey all. I'm running ACAD Map 3D 2009 and in writing some custom code, I've run into an issue. I have a custom command written in Autolisp that will convert an object to a certain layer and linetype. As a part of this command, I'm checking to see if the linetype is loaded in the linetype table, and if not, to load it.
The problem is that about 2/3 of the time, the command to load the linetype will return that the linetype is already loaded, even though it's not. This happens even when I try to load the linetype through the linetype dialog box, or through the command line; not just when I try to load it using LISP (which is why this isn't posted in the customization sub-forum).
I'm at wit's end trying to get this thing to work. I wouldn't mind using the workaround of inserting the extra "Y" into the call to the LTYPE function in my code, except that it only happens most of the time, instead of all of the time. Any help would be appreciated.
P.S. Yes, I've already tried purging that particular linetype beforehand. It doesn't seem to help.
Access a broad range of knowledge to help get the most out of your products and services.
Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.
Upgrading to a 2015 product? Make sure to check these out 1st!