Autocad won't read dxf file
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Autocad won't read dxf file
We sent a few files to a company to perform laser cutting of parts. They use Autocad to read our drawing but apparently they stumble on an error upon reading the dxf. I also tried sending an older version of dxf (R21) as I had encountered once the situation where the Autocad version was not up to the latest.
I looked at the line where the reading stops, it says "NAN", anyway I attach one of the files for review, below is the error message the company sent us:
Back-R21.dxf
DXF read error on line 5420.
Invalid or incomplete DXF input
Thanks for any feed back
I looked at the line where the reading stops, it says "NAN", anyway I attach one of the files for review, below is the error message the company sent us:
Back-R21.dxf
DXF read error on line 5420.
Invalid or incomplete DXF input
Thanks for any feed back
- Attachments
-
- back-R21.dxf
- file in dxf R21
- (198.03 KiB) Downloaded 463 times
JJ Win7 pro-64
Re: Autocad won't read dxf file
There were indeed two invalid dimension entities in this file.
I've removed them and attached the fixed file.
This is the first time I've seen an error like this. Please let me know if it occurs again. Thanks.
I've removed them and attached the fixed file.
This is the first time I've seen an error like this. Please let me know if it occurs again. Thanks.
- Attachments
-
- back-R21_fix.dxf
- (202.88 KiB) Downloaded 458 times
Re: Autocad won't read dxf file
Thanks Andrew, but we have several other files, what should I do to fix them ?
JJ Win7 pro-64
Re: Autocad won't read dxf file
If the problem is the same, you can fix them as follows:
- Load the file with QCAD
- Show selection filter: View > Selection Filter
- Entity Type: Dimension
- Click left button to replace the current selection
- Check that no real, valid dimensions are selected (deselect them if necessary)
- Edit > Delete
- Load the file with QCAD
- Show selection filter: View > Selection Filter
- Entity Type: Dimension
- Click left button to replace the current selection
- Check that no real, valid dimensions are selected (deselect them if necessary)
- Edit > Delete
Re: Autocad won't read dxf file
OK, I tried first with the file I sent you, and yes I found an entity that I deleted.
On this other drawing, I did the same but found nothing, and upon reading the dxf, I still have the same issue on line 5252...
here's the file, thanks
On this other drawing, I did the same but found nothing, and upon reading the dxf, I still have the same issue on line 5252...
here's the file, thanks
- Attachments
-
- frontSQUARER21.dxf
- (193.61 KiB) Downloaded 466 times
JJ Win7 pro-64
Re: Autocad won't read dxf file
You likely found two entities but didn't see them getting selected because they're off the canvas:J-J wrote:On this other drawing, I did the same but found nothing
Check also the status bar after running the selection filter:
Re: Autocad won't read dxf file
install "select widget" then you can:
a) select all
b) chose it from the menu
c) delete
a) select all
b) chose it from the menu
c) delete
Re: Autocad won't read dxf file
I was not expecting entities out of view as usually when opening a file, auto zoom supposedly shows everything on the screen...
One always learns something new every day!
Thanks again
One always learns something new every day!
Thanks again
JJ Win7 pro-64
Re: Autocad won't read dxf file
The problem for auto zoom is that these invalid entities have no size and are ignored for auto zoom (like empty texts). This has actually been changed recently, no way you could have known thatJ-J wrote:I was not expecting entities out of view as usually when opening a file, auto zoom supposedly shows everything on the screen...