-
-
Notifications
You must be signed in to change notification settings - Fork 975
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
dimension lines didn't change layer when text alignment is horizontal, fixes #1396 #1409
base: master
Are you sure you want to change the base?
Conversation
The issue appears to be fixed for all dimension types except Aligned dimensions. Also, if I go into Options - Current Drawing Preferences - and toggle Text Alignment back and forth between Aligned and Horizontal, most of the dimension lines are still green. |
Question: Please excuse my ignorance, I am a noob at github. |
@jbergengh the version number is created from git tags. I assume that |
With regards to the first bug, it shouldn't happen if you ensure that the By default, I have a habit of keeping both the checkboxes selected while performing such an operation. To solve it, I first have to understand the difference between the two options. I have a feeling that both the checkboxes are redundant, because if the entity is moved/copied within the same layer, it should inherit the current layer's attributes, and if it is moved to a new layer, then it should inherit that new layer's attributes. |
@melwyncarlo here is a video that I hope will help diagnose the bug. |
The issue was that the dimensions were not being updated post-transferring them onto a new layer. |
I've sorted out this as well, in #1427. |
@melwyncarlo I tested #1409 and it is working perfectly now. Thank you very much. Excellent job. |
@jbergengh You're welcome, and thank you very much! 😃 |
I found another case where dimension lines on dimensions with horizontal text are not getting updated. To reproduce: |
Also draw dimension on green layer, change active layer to red, delete the dimension and undo the delete. |
This problem arose because the dimension lines created in the case of horizontal alignment were different from that of the aligned case. The aligned dimension line had an option to update its color, while the dimension lines in the horizontal alignment case did not; now, they do. I've tested it all of your conditions, and because this fix was internal, it should fix all other conditions, too. |
@melwyncarlo could you please try the following steps to see if you get the same results I do? Using your latest "Task_4" fixes.
|
Go to Under Why does it do that? I've got no idea in the slightest. Using |
Changing all three sections from Color by Layer to Color by Block solved the issue when using Task_4. I don't understand why it would work this way because selecting an entity and changing its Attributes to By Block strips that entity of its Color and/or Width and/or Line type information, and makes it ignore what its layer's settings are. Having to use Color by Block in drawing preferences to get Coloring by Layer is confusing to me. Maybe I'm not understanding something. Nevertheless, your fixes work perfectly when I set drawing preferences to By Block. Excellent work as always, Melwyn |
Thank you very much @jbergengh! 😃 No, you have said it correctly, atleast as per the DXF documentation. It is definitely a bug, though I cannot find its source. |
BOTH the bugs mentioned in this issue have been resolved.