The code 999 of DXF is not supported and stop the import of the file, although it is just a string.
Also, if 0.0 or 1.0 is set in the DXF, it stop the import arguing it needs an integer 0 or 1.
Normally it should simply read over any unknown codes. But depending on the context that may not be the case. Are you able to provide a simple test case to debug that?
from http://www.autodesk.com/techpubs/autocad/acad2000/dxf/group_codes_in_numerical_order_dxf_01.htm :
999
DXF: The 999 group code indicates that the line following it is a comment string. SAVEAS does not include such groups in a DXF output file, but OPEN honors them and ignores the comments. You can use the 999 group to include comments in a DXF file that you've edited.
I'll send a test code of Test-R2010.dxf to you private - delete line 1 and 2 for klayout 0.22.3 import.
Comments
Hi OkGuy,
You know, I really hate DXF ...
Normally it should simply read over any unknown codes. But depending on the context that may not be the case. Are you able to provide a simple test case to debug that?
Best regards,
Matthias
from http://www.autodesk.com/techpubs/autocad/acad2000/dxf/group_codes_in_numerical_order_dxf_01.htm :
999
DXF: The 999 group code indicates that the line following it is a comment string. SAVEAS does not include such groups in a DXF output file, but OPEN honors them and ignores the comments. You can use the 999 group to include comments in a DXF file that you've edited.
I'll send a test code of Test-R2010.dxf to you private - delete line 1 and 2 for klayout 0.22.3 import.
Regards,
Peter R.