-
-
Notifications
You must be signed in to change notification settings - Fork 120
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
Rework Multileader #292
Comments
TextAlignment etc.The standard value for the The A field with the same meaning is found in the Both should be named as The multileader entity has a field with the DXF group code 179 documented as Justification in the OD_S_DWG with the values 1=Left, 2=centered, 3=right, documented as Text Attachment Point in the DXF reference. A field with the same meaning is found in the Both should be named as In AutoCAD the text alignment can be specified in MutliLeaderStyle dialog. In DWG and DXF the field with the group code 175 in the multlieader has always the value 0=left, regardless of the Alignment selected in the property grid.
|
Location, RotationDXF uses different group codes for
We decided to implement one @DomCR Do you think this is OK? |
are documented as Attachment Type or as Block Content Connection with enum values are associated with the --> Use equal property name in BlockContentConnection in |
I don't think is a good solution for the project, but if we have the certainty that this properties are exactly the same we could implement 2 private fields and return the same for each one of them (the same logic would be applied for the set). The main reason why I think that we should not merge them is because the We also had a similar issue with In this case we though that Let me know what you think about my approach. |
A MultiLeader has ether a text label or a block content having a |
When this issue is completed we will have renamed several properties. |
We recently implemented classes and a reader to handle
MultiLeader
entities in ACadSharp.Using the MultiLeader data we learned a lot about the confusing data structures and values. So we try do document the properties to support usage.
And we found some issues, in particular bad or inconsistent naming:
MultiLeaderPropertyOverrideFlags
MultiLeader
/MultiLeaderAnnotContext
:TextAlignment
property etc.MultiLeader
/MultiLeaderAnnotContext
:AlignmentType
,BlockContentConnection
property.MultiLeaderAnnotContext
: bad property visibility. no setters forIList
propertiesMultiLeaderAnnotContext
: Property namingMultiLeaderAnnotContext
: ShouldLocation
,Rotation
doubled toTextLocation
,TextRotation
andContentBlockLocation
,ContentBlockRotation
?Note: This issue infers a breaking change.
Branch created: https://github.com/nanoLogika/ACadSharp/tree/20240225_mme_MultiLeader_rework
The text was updated successfully, but these errors were encountered: