If you are going to select more than one set of objects in a command, then you don’t want to use the easy object getters. This is because they always accept pre-selected objects.
In your code, the selection made by
RhinoGet.GetOneObject is pre-selecting the curve for
RhinoGet.GetMultipleObjects finds a pre-selected curve, it doesn’t pause for additional selections. Hope this makes sense.
This is a better approach.
protected override Result RunCommand(RhinoDoc doc, RunMode mode)
var rc = RhinoGet.GetOneObject("Select one curve", false, ObjectType.Curve, out var singleRef);
if (rc != Result.Success)
var go = new GetObject();
go.SetCommandPrompt("Select multiple curves");
go.GeometryFilter = ObjectType.Curve;
go.SubObjectSelect = false;
go.DeselectAllBeforePostSelect = false;
if (go.CommandResult() != Result.Success)
var multRefs = go.Objects();