- 积分
- 426
- 明经币
- 个
- 注册时间
- 2017-11-11
- 在线时间
- 小时
- 威望
-
- 金钱
- 个
- 贡献
-
- 激情
-
|

楼主 |
发表于 2023-10-6 21:24:14
|
显示全部楼层
谢谢大佬 ,你的脚本加载出错,我重新改一下,测试成功了。
(defun c:sa()
(command "_erase" (ssget '((0 . "DIMENSION,HATCH,*TEXT,LEADER"))) "") ;删除标注、填充、文字、引线
(princ))
还有一个疑问,能增加删除Defpoints图层对像的命令吗?
(defun c:tt()
(setq s (ssget "x" '((8 . "Defpoints"))))
(command "erase" s "")
) |
|