Message 1 of 21
Is there a way to adjust a witness line gap?

Not applicable
05-25-2018
01:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi.
I'm sorry to post duplicate question, but I can not solve and try to upload again.
I want to adjust dimension's end point.
I created dimensions as follows.
ReferenceArray refArray = new ReferenceArray();
refArray.Append(startLine.Reference);
refArray.Append(endLine.Reference);
...
var line = Line.CreateBound(point1, point2); Dimension dimension = doc.Create.NewDimension(view, line, refArray);
and I want the end point to be automatically adjusted using api. (like red line)
like this
I have found on the Internet and used Dimension.Segments, but the number of values was 0.
is there a way? I need help.
thank you!