Not applicable
01-03-2020
07:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am writting a python program that generates the attached dxf file. When it didn't have text labels it worked fine but now that I added the texts autocad says "Press enter to continue" and it fails importing it. Pressing F2 shows the error:
Customization file loaded successfully. Customization Group: ACAD Customization file loaded successfully. Customization Group: CUSTOM Customization file loaded successfully. Customization Group: AUTODESKSEEK Customization file loaded successfully. Customization Group: MODELDOC Customization file loaded successfully. Customization Group: EXPRESS Customization file loaded successfully. Customization Group: APPMANAGER Customization file loaded successfully. Customization Group: FEATUREDAPPS The following error was encountered while reading in TEXT starting at line 6234: Invalid DXF data. Invalid or incomplete DXF input -- drawing discarded.
Looking up the indicated line, I have:
(......) 11204.187099999999 20 623.359200000000 0 TEXT --> line 6234 5 4D 100 AcDbEntity 8 0 6 ByLayer 62 256 100 AcDbText 10 0.000000000000 20 629.860900000000 30 0.000000000000 40 5 1 0 V0 50 0.0 41 1 51 0 7 71 0 210 0 220 0 230 1 100 AcDbText 0 LWPOLYLINE 5 1705412245488 330 1F 100 AcDbEntity 8 None 62 255 100 AcDbPolyline 90 2 70 0 43 0.0 10 0.000000000000 20 649.860900000000 10 0.000000000000 20 609.860900000000 0 TEXT 5 4D 100 AcDbEntity (.....)
If I open this same file with LibreCad and save it, the resulting file opens perfectly with AutoCad. So what is exactly wrong with this file?
Solved! Go to Solution.
Link copied