Comments (5)
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.
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.
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.
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.
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 theBLOCK_RECORD
table in theTABLES
section, you are able to followingownerHandles
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)
- Group code does not have a defined type:
- 'should parse MULTILEADER entities' test fails because `leaders.dxf` is missing HOT 1
- Test 'should parse a complex BLOCKS section' is failing
- Problem with parsing/showing ARC entity HOT 3
- Can read/write DXF files in binary form? HOT 1
- final vertex of 3DFACE not being added to entity vertex list when encountering a code other than 0
- How to combine color of walls with color of closed area
- Support for pdf HOT 1
- How to handle large points HOT 1
- DxfParser export seems broken HOT 1
- `TypeError: Cannot call a class as a function` in tests
- npm or yarn? HOT 1
- Compilation issue with ParseHelpers HOT 3
- Question - Ability to read group of elements HOT 1
- How can get perimeter of DXF File ?
- Parsing blocks with attributes HOT 1
- The angle always in radians
- Types?
- How to convert to DXF JSON
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dxf-parser.