(defun pver
(setq
vl
e (entget (car (entsel))) )
(while (/= (assoc 0 e) "SEQEND")
(setq
v2 (cdr (assoc 10 (setq e (entget (entnext (cdr (car e))))))) vl (cons v2 vl) )))
(setq
vl
e (entget (car (entsel))) )
(while (/= (assoc 0 e) "SEQEND")
(setq
v2 (cdr (assoc 10 (setq e (entget (entnext (cdr (car e))))))) vl (cons v2 vl) )))