986| 6
|
[提问] 单选改为多选 |
20明经币
最佳答案(defun c:tt (/ ss0 bn lst i s1)
(princ "\n选择目标图块: ")
(if (setq ss0 (ssget '((0 . "insert"))))
(progn
(setq i -1
lst '()
)
(while (setq s1 (ssname ss0 (setq i (1+ i))))
(setq bn (cdr(assoc 2(entget s1))))
(if (not (member bn lst))
(setq lst (cons bn lst))
)
)
(setq bn (mapcar '(lambda (x) (strcat x ",")) lst)
bn (apply 'strca ...
| ||
发表于 2022-12-18 11:20:50
|
显示全部楼层
| ||
| ||
发表于 2022-12-18 11:37:57
|
显示全部楼层
| ||
| ||
| ||