Message 1 of 5
How to create a linear diameter dimension that is horizontal

Not applicable
12-19-2016
04:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi, all,
I want to create some dimensions with dimension style "linear diameter", and all of them should be horizontal. My problem is that as soon as the workpoints are not at the same elevation, then the dimension will no longer be horizontal, but become aligned instead. I tried to get around this by, instead of having a workpoint in the center of my cylinder, I put at workaxis there, and had that as one of my intent points, but I still got the same problem. The dimensions are aligned and not horizontal. How to solve this??
oDim = oGeneralDims.AddLinear( oTG.CreatePoint2d(oView.Left+oView.Width,oView.Top+4), oGeometryIntent4(1), oGeometryIntent4(2), DimensionTypeEnum.kDiametricDimensionType) oDim.AttributeSets.Add("iLogic_Created")