When I need to get the bounding box or rect of a text entity in GH, I find it is completely wrong. why even offer the .GetBoundingBox method on TextEntity objects if it cannot return an accurate bounding box? It is also weird that the .GetBoundingBox method claims to compute a physically accurate bounding box if I pass true in, when it clearly does not do that.
I have to use a C# component to first get the outline curves via the TextEntity.CreateCurves method, but this asks for a DimensionStyle which is confusing and has a really useless description on the DimensionStyle class page: “Can also be considered an annotation style since it is used for more than just dimensions”… I think it would be better if the CreateCurves method had all those arguments as optional.
But in the first place I think it would be better if the TextEntity.GetBoundingBox method worked correctly.
text_entity_bounding_box_issue.gh (17.5 KB)