只需一步,快速开始
我编写的块名更改程序出错了,请各位指点正确的写法
;;;改块名(defun gkm (oldnm newnm / ent) (setq ent (entget (tblobjname "block" oldnm))) (setq ent1 (subst (cons 2 newnm) (assoc 2 ent) ent)) (entmod ent1) ;;返回nil,操作失败)
使用道具 举报
Visit here:
http://forums.augi.com/showthread.php?t=117236
本版积分规则 发表回复 回帖后跳转到最后一页
小黑屋|手机版|CAD论坛|CAD教程|CAD下载|联系我们|关于明经|明经通道 ( 粤ICP备05003914号 ) ©2000-2023 明经通道 版权所有 本站代码,在未取得本站及作者授权的情况下,不得用于商业用途
GMT+8, 2025-5-13 20:04 , Processed in 0.154996 second(s), 26 queries , Gzip On.
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.