Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DxfWriter failed to write entities. #411

Open
zhang-917917 opened this issue Aug 9, 2024 · 1 comment
Open

DxfWriter failed to write entities. #411

zhang-917917 opened this issue Aug 9, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@zhang-917917
Copy link

I will first use DwgReader to read. dwg files, and entities are recorded in CadDocument. Please refer to the picture.
1723169693699

But after I wrote the CadDocument to the. dxf file using DxfWriter, the entities did not exist. I can't see any content even when I open it in AutoCAD. Use the JS DxfParser library to parse the length of the entities array to 0.
1723169781262

This is my code:
1723169889367

I have tried multiple DWG files, and only one of them with a size of 4M has this issue.

@zhang-917917 zhang-917917 added the bug Something isn't working label Aug 9, 2024
@DomCR
Copy link
Owner

DomCR commented Aug 9, 2024

Hi @zhang-917917

Could you provide the file that is causing the error? or at least a similar one.
Without the specific example I don't know if I'll be able to help.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants