Git Product home page Git Product logo

Comments (6)

brettfo avatar brettfo commented on September 17, 2024

It sounds like there was an unexpected value in the DXF file. Can you share the file with me so I can investigate? If not, was there a file and line number reported with the exception? This won't tell me what the unexpected value was, but it could tell me where it happened so we might be able to guess what happened.

from dxf.

awefire avatar awefire commented on September 17, 2024

of course,here is dxf file:
autocad_2007.zip

from dxf.

awefire avatar awefire commented on September 17, 2024

look forward to your reply.

from dxf.

brettfo avatar brettfo commented on September 17, 2024

What software created this file? The file name indicates AutoCAD 2007, but the value of the $ACADVER variable suggests AutoCAD 2018 or 2019.

The real issue, though, is the header variable $ACADMAINTVER which according to the spec should be a code 70 (short) value, but the file you provided lists a code 90 (long) value, which doesn't conform to what's supposed to be in the file. If you open up the file in Notepad or another text editor you can see the code 90 listed on line 11; this should be 70. Manually changing that value allows the file to open, both in the version that's hosted on NuGet as well as the latest sources from master.

from dxf.

awefire avatar awefire commented on September 17, 2024

Thanks for your reply.
got it

from dxf.

brettfo avatar brettfo commented on September 17, 2024

What software created the DXF file? The indentation suggests that it was something not custom written or off the cuff. If it's something that others are likely to use I want to make sure that my library works with it appropriately.

from dxf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.