2466| 5
|
求如果是不打印的图层则关闭的代码 |
2明经币
最佳答案(defun c:tt ( / el l l1 ta table x)
(defun gatable (table / l str ta)
(while (setq ta (tblnext table nil))
(setq l (cons (cdr (assoc 2 ta)) l))
)
(setq l (cons (cdr (assoc 2 (tblnext table t))) (reverse l)))
)
(setq l (gatable "LAYER") l1 nil)
(mapcar '(lambda(x)
(setq el (entget (tblobjname "LAYER" x))
l1 (cons (list (cdr (assoc 2 el)) (cdr (assoc 290 el))) l1))) l)
...
| ||
点评
反过来更方便核查---只显示不打印的内容
评分 | ||
| ||