Autodesk Viewer Can't Open The DXF File

Autodesk Viewer Can't Open The DXF File

corbahadir
Explorer Explorer
1,569 Views
6 Replies
Message 1 of 7

Autodesk Viewer Can't Open The DXF File

corbahadir
Explorer
Explorer

Hello everyone,

Attached I've a simple DXF file (1 POLYLINE & 2 VERTEXs & 2 POINTs). I can view the drawing both with AutoCAD and Trueview. However Autodesk online viewer can't open the file. Unfortunately the error message is not descriptive enough:

 

"Design is empty. Please check the design.

AutoCAD-InvalidFile Sorry, the drawing file is invalid and cannot be viewed. - Please try to recover the file in AutoCAD, and upload it again to view.

TranslationWorker-InternalFailure Unrecoverable exit code from extractor: -1073741831"

 

Could you please help me what is wrong/missing with this file? What kind of auto recovery is happening in AutoCAD or Trueview?

PS: Even the forum denied my file saying it's not matching with the extension DXF, so I had to change it to .txt in order to be able to attach it.

PS: I surfed through the forum trying to find a dedicated Autodesk Viewer topic but couldn't find. If here is the wrong place to ask, please advice the correct topic.

0 Likes
Accepted solutions (1)
1,570 Views
6 Replies
Replies (6)
Message 2 of 7

paullimapa
Mentor
Mentor
Accepted solution

Your DXF assigns Layer 0 to BYLAYER which is incorrect:

paullimapa_0-1708021520607.png

Also when using a Black Drawing Background you'll see nothing in the view until you change the background to another color.

Or better yet in your DXF assign Layer 0 to 7 or White which is the standard:

paullimapa_1-1708021670289.png

Now I can see the color 7 in the drawing:

paullimapa_2-1708021726309.png

 


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
Message 3 of 7

corbahadir
Explorer
Explorer

edit: wrong reply button.

0 Likes
Message 4 of 7

corbahadir
Explorer
Explorer
Hi Paul, thank you for your answer. Indeed, your remark fixes the error.

However, when I remove the POINT entities by deleting from the file, Autodesk viewer was able to open the file and show the POLYLINE without any problem. So I'm just now wondering how this Color:BYLAYER issue didn't prevent viewer to open when there were no POINT entities in the file.
0 Likes
Message 5 of 7

paullimapa
Mentor
Mentor

When you assign a property that standard AutoCAD does not support in this case a BYLAYER value to Layer 0 you'll get uncertain results. So best to avoid the problem is to use standard assignments in your dxf.


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
Message 6 of 7

corbahadir
Explorer
Explorer
Got it, thank you for your quick response.
0 Likes
Message 7 of 7

paullimapa
Mentor
Mentor

glad to have helped...cheers!!!


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes