-
Notifications
You must be signed in to change notification settings - Fork 8
Description
This is an issue asking for guidance on the best way to expose a style navigation property for the various annotation elements used by Drawing Production. It is related to the recommendations from the BWG meeting on 08/01/2025. There was a brief asynchronous discussion about this with @ColinKerr and this issue is a place for that discussion to continue and for others to chime in.
There are 5 ECEntityClasses that need to refer to a style. They are:
- TextAnnotation2d refers to an AnnotationTextStyle
- TextAnnotation3d refers to an AnnotationTextStyle
- Table refers to an AnnotationTextStyle
- Dimension refers to a DimensionStyle
- DimensionStyle refers to an AnnotationTextStyle
Does each ECNavigationProperty need to refer to a new ECRelationshipClass? So we would end up with this setup:
- TextAnnotation2d refers to AnnotationTextStyle via relationship TextAnnotation2dUsesAnnotationTextStyle
- TextAnnotation3d refers to AnnotationTextStyle via relationship TextAnnotation3dUsesAnnotationTextStyle
- Table refers to AnnotationTextStyle via relationship TableUsesAnnotationTextStyle
- Dimension refers to a DimensionStyle via relationship DimensionUsesDimensionStyle
- DimensionStyle refers to an AnnotationTextStyle via relationship DimensionStyleUsesTextStyle
Or should we do something else?
TextAnnotation2ds, Tables, and Dimensions all extend the AnnotationElement2d concrete class. Is it possible to create a more generic Annotation2dUsesStyle relationship that could be on this base class? Should we use a mixin?
cc: @ColinKerr, @diegoalexdiaz, @pmconne, @Josh-Schifter, @SheetalNair