08-02-2021
11:03 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
08-02-2021
11:03 PM
This is possible, but you need to find a drawing geometry which belongs to face or edge.
Main steps for this goal is
- Get FaceProxy from Mate (MateConstraint.EntityOne, MateConstraint.EntityTwo)
- Get DrawingCurves which belongs to face in appropriate DrawingView (DrawingView.DrawingCurves(faceProxy))
- Select the right DrawingCurve
- Create GeometryIntent for this curve (Sheet.CreateGeometryIntent(geometry, intent))
- Select dimension text position (Point2D)
- Create DrawingDimension (Sheet.DrawingDimensions.GeneralDimensions.AddLinear(...))
Notes:
Generally it does not have to be parallel lines.
For one face you can find more then one curve in drawing view