GithubHelp home page GithubHelp logo

Comments (5)

Serthys avatar Serthys commented on June 18, 2024

I tried launching the three-dxf sample with the test file and I can see the correct name shown.

Maybe the name '*U146' you see there is Unicode?

from dxf-parser.

bzuillsmith avatar bzuillsmith commented on June 18, 2024

If AutoCAD shows different block names then we may need a sample file. I don't know if it's stored in extended data or a standard dxf code/value pair.

from dxf-parser.

pranavramkrishnan avatar pranavramkrishnan commented on June 18, 2024

I investigated this a bit more.

This is my understanding. When inserting a dynamic block, AutoCad anonymizes the name (*U... like name). However, if you use the BLOCK_RECORD table in the TABLES section, you are able to following ownerHandles to link a particular insert --> block (anonymized name) --> base block (which is named).

I extended the version of dxfParser I had to also parse the block record table which helped with this investigation. More than happy to open a PR for this, but perhaps later versions already have this?

Thanks again!

from dxf-parser.

bzuillsmith avatar bzuillsmith commented on June 18, 2024

Ah, I see. A PR would be great. There hasn't been any other development on the BLOCK_RECROD table. I'm a little behind on maintaining this repo, but I've been making bits of progress lately and hope to bring in some PRs soon.

from dxf-parser.

Arnoldnuo avatar Arnoldnuo commented on June 18, 2024

I investigated this a bit more.

This is my understanding. When inserting a dynamic block, AutoCad anonymizes the name (*U... like name). However, if you use the BLOCK_RECORD table in the TABLES section, you are able to following ownerHandles to link a particular insert --> block (anonymized name) --> base block (which is named).

I extended the version of dxfParser I had to also parse the block record table which helped with this investigation. More than happy to open a PR for this, but perhaps later versions already have this?

Thanks again!

can you share your code, thank you! @pranavramkrishnan

from dxf-parser.

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.