ReadDXF vs ReadAutodesk (Eyeshot 2023)

Hi,

 

I am writing an application to read dwg/dxf files, and have ran into some problems where calling ReadDXF on a dxf file will generate an error "impossible to load file. \r\n\r\n", but calling ReadAutodesk will open the file properly (albeit much slower). Does anyone know what could be causing this issue?

1

Comments

6 comments
Date Votes
  • Please open a support ticket with the problematic files.

    0
  • Unfortunately I am not allowed to distribute those files. Is there someone else I can do?

    0
  • Hello Kevin,

    As indicated in the class remarks, ReadDXF exclusively supports formats from Autodesk 2000 to Autodesk 2018.

    Is it possible that the files you are working with have been saved in a different format?

    0
  • It's possible, however when I saved a copy of the file as an Autodesk 2018 drawing, it gave me the same error.

    0
  • As I see from documentation ReadDXF/ReadDWG classes do not support Brep and Mesh entity. Do you plan to add support of these entities?

    0
  • Hello George,

    Not in the short term, sorry. In Eyeshot 2025, we will add the WriteDWG/WriteDXF classes instead.

    0

Please sign in to leave a comment.

Didn't find what you were looking for?

New post