rs.AddAlignedDimension() will not add dimension if

if point_on_dimension_line matches start or end_point.
Or any other point on the line between start and end_point.

rs.AddLinearDimension will and Rhino.AddAlignedDimension will also.

rs.AddAlignedDimension([0,0,0], [10,0,0], [5,0,0]) fails.

@Alain - can you look at this?

The function could not determine the plane for the dimension when the points passed were colinear so I fixed it so in this case it’ll use the view cplane. The fix will be in the next service release.
Thank you for reporting the problem.

1 Like