2237| 14
|
[讨论] 想选取图层名称 然后框选选择固定图层的图形做块 |
1明经币
最佳答案(defun c:KS1 ()
(prompt "\n请选择加入块的对象: ")
(setq ss1 (ssget (list (cons 8 "S-ANNO-TEXT"))))
(princ "\n选择基点: ")
(setq p (getpoint))
(setq x2(getstring "\请输入块名:"))
(emkblk ss1 p x2)
(princ)
)
(defun emkblk (ss pt name / i)
(entmake (list '(0 . "block") (cons 2 name) '(70 . 0) (cons 10 pt)))
(repeat (setq i (sslength ss)) (entmake (cdr (entget (ssname ...
| ||
相关帖子
|
||
发表于 2021-11-9 10:20:03
|
显示全部楼层
| ||
发表于 2021-11-9 11:44:01
|
显示全部楼层
| ||
| ||
发表于 2021-11-9 15:00:09
|
显示全部楼层
| ||
| ||
| ||
发表于 2021-11-9 16:07:42
|
显示全部楼层
| ||
发表于 2021-11-9 16:09:16
|
显示全部楼层
| ||
| ||