How can I commit changes when I move grips of a brep?
Dim rhinoObj As RhinoObject = New DocObjects.ObjRef(g).Object rhinoObj.GripsOn = True rhinoObj.CommitChanges() Dim grips As GripObject() = rhinoObj.GetGrips If grips Is Nothing Then brObj.GripsOn = False brObj.CommitChanges() Return Nothing End If For i = 0 To grips.Length - 1 If myBrep.IsPointInside(grips(i).CurrentLocation, 0.001, False) Then grips(i).Move(New Vector3d(moveTo - moveFrom)) End If Next
If I do this I can see the grips move on my screen, but the object does not get the transform. How can I commit this to the brep?
I can do grips(i).CommitChanges() but this does nothing. I think this is only usable on “normal” objects.