I have a ssget lisp that searches for a given "setting".. and if it finds it.. it will delete it (atleast that is what it is suposed to do). I'm having problems finding a way to get cad to "erase" the object if it meets the criteria i have set.. (setvar "cmdecho" 0) (setq E (ssget "X" (list (CONS 0 "WIPEOUT")))) (setq COUNT 0) (setq EN (ssname E COUNT)) (setq EL (entget EN)) (WHILE (/= EN nil) (setq EL (entget EN)) (if (= (cdr (assoc 102 EL)) nil); we have a "tag" attached to the wipeouts thanks to reactors, so i can see if it is "correct". (); the erase command would go here (setq COUNT (1+ COUNT)) (setq EN (SSNAME E COUNT)) ) (setvar "cmdecho" 1) (princ) thanks.