Message 1 of 3
[Inventor 2027.1] Dimension gap to centermark is not consistent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm noticing the gap between centermarks and dimension lines is random when adding BaselineDimensionSets or ChainDimensionSets. The problem also occurs just when using the UI too. Am I missing something?
var intents = app.TransientObjects.CreateObjectCollection();
// geometry intents are linked to the centermark object
var intent = sheet.CreateGeometryIntent(centermark);
intents.Add(intent);
var placement = app.TransientGeometry.CreatePoint2d(0.0, drawingView.Center.Y + drawingView.Height / 2.0 + 10.0);
sheet.DrawingDimensions.BaselineDimensionSets.Add(intents, placement, DimensionTypeEnum.kHorizontalDimensionType)
Can confirm the dimension set members are attached to the centermark geometry in all cases.
Not sure if it matters but the holes in this example are generated from a Sketch Driven Pattern.