(defun c:vlisp () (while (if (setq ent (car (entsel))) (progn (if (setq pt (cdr (assoc 10 (entget ent)))) (progn (command "POINT" pt) pt ) ) ) ) ) (princ) )