CompuServe Thread

#DXFIN/DXFOUT

2 messages in this thread
#34000From: David KerrFeb 21, 1992 3:10 PM
Several n 1) We used to be able to assume that when a user did a dxfout they could turn around and do a dxfin and bring the same drawing back in. On the SUN Release 11 this is no longer possible for the following reasons. 1-Blank Linetypes are not allowed 2-Blank Layer nas are not allowed Linetypes with "()" in them are not allowed This is causing us grief since dxfout produces this information from the drawing. And I cannot find in the documentation where it says not to use "()" in linetype names, but that is alright we can code ound that problem. But having dxfout producing a dxf file that cannot be read in is bad! I could upload a file about 50K if you want to see the problem. We are now writing scripts to modify the dxf files to make them usable.
#34178From: Duff Kurland [Adesk]Feb 22, 1992 3:11 PM
David – Layer names and linetypes names must conform to AutoCAD's symbol naming conventions, meaning that they must contain only letters, digits, and the special characters $, _, and -. They cannot be more than 31 characters long, and cannot be blank. See pages 263 ("Layer name" at the bottom of the page) and 276 ("Each linetype…" in the middle of the page). Rather than ask why DXFIN won't allow your blank or "()" symbols to be input, I wonder how you're managing to create such layers and linetypes in the first place. The LAYER and LINETYPE commands are (supposed to) check the vaildity of the names you enter, as are the AutoLISP/Ads (entmake) and (entmod) functions… so I'm at a loss as to how these names are getting into your drawing. Sounds like a bug. Can you elucidate?