Why is this failing?
(while
(setq a (getpoint "\nSpecify first corner: "))
(progn (initget 32)
(setq b (getcorner a "\nSpecify other corner: "))
)
(setq tmpsol (ssget "C" a b '((0 . "3DSOLID"))))
(repeat (sslength tmpsol)
(setq ent (ssname tmpsol cnt)
cnt (1+ cnt)
)
(ssadd ent sol1)
);end repeat
);end while