409| 5
|
[提问] 如何:根据单选对象的颜色线型,框选出相同属性的对象 |
1明经币
最佳答案(defun c:tt (/ a b en len s0 ss ss1 xxys x ys yslst)
(defun xxys (en)
(setq xx (vla-get-linetype (vlax-ename->vla-object en)))
(setq ys (vla-get-Color (vlax-ename->vla-object en)))
)
(setq yslst nil ss1 (ssadd))
(while (setq s0 (car (entsel "\n请选过滤颜色对象: ")))
(redraw s0 3)
(xxys s0)
(setq yslst (cons(list xx ys) yslst))
)
(setq ss (ssget))
(repeat (setq ...
| ||
发表于 2024-8-11 01:36:11
|
显示全部楼层
| ||
发表于 2024-8-11 02:39:07
|
显示全部楼层
| ||
| ||
| ||