1435| 7
|
求助ssget选择图元后 在筛选的问题 |
2明经币
最佳答案(defun c:test(/ ed obj ss st n1 n2)
(setvar "cmdecho" 0)
(if(setq ss(ssget '((0 . "circle"))))
(progn
(setq st -1 n1 0 n2 0)
(repeat(sslength ss)
(setq
obj(vlax-ename->vla-object(ssname ss(setq st(1+ st))))
ed(vla-get-Diameter obj)
)
(cond
((or(= ed 8.0)(= ed 8.01)(= ed 10.0)(= ed 10.01))(vla-put-layer obj "7")(s ...
| ||
| ||
| ||
| ||
| ||
| ||
| ||