[CommandMethod("вв_(ПТО_№3:предыдущий выбор)")]
public void ViborLast()
{
Document doc = acadApp.DocumentManager.MdiActiveDocument;
Database db = doc.Database;
Editor ed = doc.Editor;
TypedValue[] acTypValAr = new TypedValue[2];
acTypValAr.SetValue(new TypedValue((int)DxfCode.Start, FiltrPerem.nameObj), 0);
acTypValAr.SetValue(new TypedValue((int)DxfCode.LayerName, Layers.ActiveLayerName()), 1);
SelectionFilter acSelFtr = new SelectionFilter(acTypValAr);
PromptSelectionResult acSSPrompt;
acSSPrompt = ed.GetSelection(acSelFtr);
//далее обработка выбора
}