Rhino6 bugs about dim's Boundingbox


#1

It seems there are some bugs for all the dim class in rh6.
like Rhino.Geometry.LinearDimension,Rhino.Geometry.AngularDimension and so on.
In rhino6 I can’t get the right boudingbox for the dims. In rhino 5 I can.
I have a simple test below.

  Private Sub RunScript(ByRef DimBox As Object) 

    Dim test As LinearDimension = New LinearDimension(plane.WorldXY, New point2d(100, 200), New point2d(200, 200), New point2d(150, 400))
    Dim bbox As boundingbox = test.GetBoundingBox(True)
    DimBox = bbox
  End Sub



@dale @DavidRutten
Test.gh (5.4 KB)


(Alain Cormier) #3

That looks like the same problem reported here:

It has been fixed for SR 6:
https://mcneel.myjetbrains.com/youtrack/issue/RH-45935


#4

Thank you! Great!