First, you have to have the right command flag(s) set. If you only want to consume the PickFirst Set, and want the selection to clear after your command, then you set the UsePickSet Command Flag. If you want to Add to or Modify the Pickset, leaving the grips or selection on after your command then you use the flag Redraw.
If you do not use either of those flags, then the pickfirst set is cleared immediately when you enter your command.
After that, you can do:
Dim psr As PromptSelectionResult = Editor.SelectImplied
which will give you the pickfirst set if there is one and do nothing if there is not.
or you can do:
Dim psr As PromptSelectionResult = Editor.GetSelection
which will give you the pickfirst set if there is one without prompting the user, or it will prompt the user for selection if there is no pickfirst.
Dave O.