I was able to take a few minutes and play with the code, this is what I have so far.
(defun c:test( / ss)
(if (setq ss (ssget '((0 . "LWPOLYLINE") (6 . "SOLID") (8 . "COUNTERTOP")))) ; from Lee
(progn
(command "change" ss "" "p"
"LT" "ByLayer"
"C" "ByLayer"
"LA" "OBJECT" ""
"EXPLODE" SS
)
)
)
(princ)
)
How do I incorporate the following into the selection set?
(0 . "TEXT") (7 . "Standard") (8 . "COUNTERTOP")
(0 . "POINT") (8 . "PNTS")