要啥GRREAD,直接(command "PLINE")
或
 - (defun c:tt (/ e p s)
- (if (and (setq p (getpoint))
- (setq s (list p))
- )
- (while (setq p (getpoint p))
- (setq s (append s (list p)))
- (if e (entdel e))
- (command "PLINE")
- (foreach x s (command "non" x))
- (command "c" )
- (setq e (entlast))
- )
- )
- )
|