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

Read DimensionAligned bug #501

Closed
SangIk-Lee opened this issue Dec 6, 2024 · 5 comments · Fixed by #508 or #509
Closed

Read DimensionAligned bug #501

SangIk-Lee opened this issue Dec 6, 2024 · 5 comments · Fixed by #508 or #509
Labels
bug Something isn't working

Comments

@SangIk-Lee
Copy link

Describe the bug

DIMENSION_LINEAR recognizes the type DimensionAligned.

@SangIk-Lee SangIk-Lee added the bug Something isn't working label Dec 6, 2024
@SangIk-Lee
Copy link
Author

SangIk-Lee commented Dec 6, 2024

image

image

@SangIk-Lee
Copy link
Author

When saving a DWG file, dimension objects are not visible. If you select all objects using Ctrl + A, the objects are selected, but the dimension objects' properties are not saved correctly. This issue seems to require correction as well.

@DomCR
Copy link
Owner

DomCR commented Dec 15, 2024

Hi @SangIk-Lee,

I'll apply the change to the reader, thanks for the report.

I'll need to investigate about the writing problem, I think is related to the block associated to the dimension.

@DomCR DomCR linked a pull request Dec 15, 2024 that will close this issue
@DomCR
Copy link
Owner

DomCR commented Dec 15, 2024

What version of the library are you using?

What dimensions are you writing?

This is what I got by adding a simple dimension to a file:
image

@DomCR DomCR reopened this Dec 15, 2024
@DomCR DomCR linked a pull request Dec 15, 2024 that will close this issue
@SangIk-Lee
Copy link
Author

I did not draw the dimension objects myself but instead used AutoCAD to create 'DimensionLinear' and 'DimensionAligned' in a DWG file. However, when I read the file using DwgReader and saved it using DwgWriter, it did not work properly.

image

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

Successfully merging a pull request may close this issue.

2 participants