 - (setq lst (K:RtnBox4SSGroup(ssget) 5))
- (foreach pts lst
- (setq
- zx(car pts)
- ys(cadr pts)
- zs(list (car zx)(cadr ys))
- yx(list (car ys)(cadr zx))
- )
- (entmake (list '(0 . "line") (cons 10 zx) (cons 11 zs)))
- (entmake (list '(0 . "line") (cons 10 zs) (cons 11 ys)))
- (entmake (list '(0 . "line") (cons 10 ys) (cons 11 yx)))
- (entmake (list '(0 . "line") (cons 10 zx) (cons 11 yx)))
- )
|