How to Offset Dimensions Dynamically from Polyline Based on Annotation Scale
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I’m placing aligned dimensions along polyline segments using the AutoCAD .NET API. Right now, I position each dimension with a fixed perpendicular offset from the polyline, which works fine at first.
However, I’ve made the dimensions annotative to keep the text readable across layout viewports with different scales. As a result, the dimension text grows larger in some viewports, and the fixed offset causes the text to overlap with the polyline.
I’m looking for a way to offset dimensions dynamically based on annotation scale, so the spacing adjusts automatically and keeps the text clear and readable in all viewports.
Any best practices for dimensioning polylines like this when annotation scales are involved?
Any guidance would be appreciated — thanks!