I use this Command: -_SelLayer to quickly delete objects in my Plugin. At the moment, there is a bug related to the fact that if an object is selected, the Command: -_SelLayer does not run again.! which makes it impossible to select more than one layer at a time.