3077| 20
|
[讨论] 怎样不按回车直接使用默认值? |
15明经币
最佳答案(defun c:tt(/ ss)
(if (not dist) (setq dist 240))
(setq newdist dist)
(princ (strcat "\n当前偏移距离:" (rtos dist) " "))
(while (= ss nil)
(setq ss (ssget ":s"))
(if (= ss nil)
(progn
(setq newdist (getdist (strcat "\n设置新距离:" "")))
(if (= nil newdist)(setq newdist dist)(setq dist newdist))
)
)
)
(if (and newdist ss)
(vlax-for ss (vla-get-activeselect ...
| ||
发表于 2022-6-17 00:25:58
|
显示全部楼层
| ||
| ||
| ||
| ||
| ||
发表于 2022-6-21 09:27:52
|
显示全部楼层
| ||