Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

AutoCAD 2020 can't read DXF files from Geomagic Freeform

Anonymous

AutoCAD 2020 can't read DXF files from Geomagic Freeform

Anonymous
No aplicable

DXF files creating in Geomagic Freeform will not open in AutoCAD 2020. These same files open in every other application that accepts DXF files without an issue. AutoCAD does not display an error when attempting to open the file, I simply see the "Press Enter to continue" prompt before being direct back to the Start dialog. I have tried Audit and Repair on the files, but nothing happens.

I have attached two very simple files, the one labelled 2015 opens in all versions of AutoCAD until 2020, whereas the 2019 file is not accepted by any of the recent versions of AutoCAD.

 

Any help with how to diagnose this issue would be greatly appreciated. Thanks!

0 Me gusta
Responder
832 Vistas
8 Respuestas
Respuestas (8)

cadffm
Consultant
Consultant

Thats because of

 

1. the DXF file data is corrupt, doesn't match the official definition

 

2. All other software you talk about are using a defect or not well working DXF interfaces,

   they ignores error (data that not follows the definition of DXF Format)

 

Your sample file 2015: File format ac1500? LOL, AC1032 is currently the highest DXf Format (DXF2018),

so normaly NO software in the world should open this file because no software on earth knows the DXF Format of the Year 2699.

 

And that's not the only error in this file. Looks like a student work result <sorry>

and so on..

Sebastian

0 Me gusta

artc2
Autodesk
Autodesk
The "AC1500" is a valid format value. It was used during development of AutoCAD 2000. The format value was changed to AC1015 before AutoCAD 2000 was released.

When I try to open either of the dxf files, I get the message
Error in APPID
tableDXF read error on line 296.

This is because the files do not have an APPID table which is required for that format of DXF file.

cadffm
Consultant
Consultant

@artc2 wrote:
The "AC1500" is a valid format value. It was used during development of AutoCAD 2000. The format value was changed to AC1015 before AutoCAD 2000 was released.
:cara_sonriente: Thank you for this information, so I change my statement: It wasn't an official DXF version.
  (Same with AC1001,1005,1007,1008,1010,1011,1013,1500,402a, What is about 1800 and 1800a, also DEV fileversions?)
(important for DXF-Structure is the fact, it is a format newer than dxf12)
May i ask: AC1800 and AC1800a was also a development fileversion(from which program versions?), but never used in public versions?

When I try to open either of the dxf files, I get the message
Error in APPID
tableDXF read error on line 296.
This is because the files do not have an APPID table which is required for that format of DXF file.

Yes, I(!) know that, but as I wrote it isn't the only one problem.


 

Sebastian

0 Me gusta

artc2
Autodesk
Autodesk
There were never any "AC1800" or "AC1800a" string version values in a dwg or dxf file. There are kDHL_1800a and kDHL_1800 enum values in ObjectARX that are just names for integer numeric version values that are used in dwg files. The kDHL_1800a value (numeric value of 24) was a development version value for AutoCAD 2004. kDHL_1800 (numeric value 25) was late development and also the final version value for AutoCAD 2004.

The corresponding string version values are:

kDHL_1800a "AC402a"
kDHL_1800 "AC402b" (late AutoCAD 2004 development)
kDHL_1800 "AC1018" (final shipping AutoCAD 2004)
0 Me gusta

artc2
Autodesk
Autodesk
I had the string version values formatted in columns, but the forum software took out all of the extra spaces. Sorry about that.
0 Me gusta

Anonymous
No aplicable

Thanks for all of the feedback so far. It's clear that we have some work to do in terms of updating the DXF writer.

Is it possible for us see where the errors/failures occur? Like I mentioned in the initial post, AutoCAD just refuses to open the file, but I have never seen an error or any feedback inside the application related to what is wrong.

0 Me gusta

cadffm
Consultant
Consultant

Try to open the file in a RealDWG/AutoDesk software like AutoCAD

you can see where the program stumbled over the first problem (see the feedback in Commandline/ Textscreen [F2]).

 

But from this point on you need the knowledge what is wrong an what is right, what is missing.

For this you need the knowledge about the used DXF Format, The information from Acad Open command is just a hint.

https://knowledge.autodesk.com/support/autocad/learn-explore/caas/sfdcarticles/sfdcarticles/AutoCAD-...

 

A) I think AC1500 should not use, but i would ask @artc2 

    AC1015 is the normal format-code for DXF2000 Format.

  

B) The first error is at Line 296

     Acad is missing an APPID table

    This table is not optional (all software which loads this file ignores the missing appid section)

    DXF Reference :APPID

  

   Perfect sample for "is just a hint"

   1. There are more problems in the part Line1-295, but these problems appears later.

   2. Line296 is the point where the ENDSEC(Table) is, at this point ACAD know - there is no Appid.

       Acad would add the Appid table not in Line 269, Acad adds the appid table between UCS & DIMSTYLE Table.

 

I stop here - good luck

Sebastian

0 Me gusta

artc2
Autodesk
Autodesk
Sebastian is right, AC1500 should not be used in a dxf file (outside of Autodesk) because it specifies a format that was only used internal to Autodesk during the development of that version of AutoCAD. It's possible that subsequent versions of AutoCAD won't even read such files correctly because AutoCAD doesn't need to support internal development format versions since files of those formats are only supposed to be internal to Autodesk.

As Sebastian suggests, Ac105 should be used as the format value for that version of DXF.
0 Me gusta