You are on page 1of 1

(defun getinput ()

(while
(not (setq esel (entsel)))
)

(if (= bdent 1)
(progn
(setq ename (car esel))
(redraw ename 3)
(setq elist (entget ename (list "*")))

(setq cont T)
(while cont
(setq rname (xstrcase (getstring "\nSeleccione el tipo de
dato a ingresar: ")))
(if (/= rname "")
(setq cont nil)
)
)
)
)
)

(defun c:DEX ()
(setq bdent 1)
(getinput)
)

You might also like