I want the user to select a couple of objects and after only the widest is selected.
If I know the widest I can get the mid point of it and move all selected items to the right position to get milled.
I’ve started with this:
Dim rhObject As Rhino.DocObjects.ObjRef() = Nothing Dim rc2 = Rhino.Input.RhinoGet.GetMultipleObjects("objects left", False, Rhino.DocObjects.ObjectType.AnyObject, rhObject) If rc2 <> Rhino.Commands.Result.Success Then Return rc2 End If Dim brep = rhObject(0).Brep
But I fill in the 0 to pick the first object but thats not the widest.