很好,谢谢!
又得到了一段代码,
(defun c:mdimlinear ();;线性标注
(setvar "cmdecho" 0 )
(setq aa t)
(WHILEaa
(if (command "dimlinear" pause pause pause)
(setq aa nil)
(command "chprop" (entlast) "" "c" "BYLAYER" "lt" "BYLAYER" "la" MDTLAYER-03 "")
)
)
(setvar "cmdecho" 1 )
(princ)
)
dimlinear命令不执行怎么会返回IF是真呢? 来晚了也要标记下 学习了,谢谢楼主! 优秀啊,赞 虽然不会用到,但是还是点个赞
页:
1
[2]