I encounter a problem in selecting the objects with two steps. First, I want to select on or more objects. Then select another one object. A simple code is below.
go.SetCommandPrompt(L"Select one or more Curves");
if (go.CommandResult() != CRhinoCommand::success)
go0.SetCommandPrompt(L"Select one Curve");
if (go0.CommandResult() != CRhinoCommand::success)
However, if I selected more than one object firstly, this code run well. However, if only one object is selected in the first step, the second step cannot be executed.
I have tested many times and have no idea on this problem. Maybe it is a possible bug. Many thanks for any suggestion.