Angelo2449
Guest
Hello everyone,
in this code :
I would like the string suit check message not to interrupt the loop (repeat) and allow me to continue by selecting a suitable point.
Thank you very much.
in this code :
Code:
(repeat 10)
(setq cont (1+ cont))
(setq title1 (strcat "select the point name " (itoa cont))))
(setq ed1 (entsel (strcat "\n" title1))
(setq list (entget (car ed1) '("group")))
(setq xlist (assoc -3 list)
(setq txtdata (car))
(if (= xlist nil)
(alert "the selected string is not suitable, no extended data is associated!")
)
(setq string)
(setq nomex (cdr)
(setq type of point (nth 2 txtdata)))
(setq share (cdr (nth 3 txtdata))))
(setq ecef (nth 4 txtdata)))
(setq gaussboaga (cdr 5 txtdata)))
(setq controllerstz (nth 6 txtdata)))
(setq controllerpt (nth 7 txtdata)))
);
Thank you very much.