1304| 6
|
【求助】轴线交点批量缩放图块 |
5明经币
最佳答案(defun c:tt (/ a b end-n n name obj ojb-lst p pt pt-lst scale ss1 ss2)
(if (and
(princ "\n选择块")
(setq ss1 (ssget '((0 . "INSERT"))))
(princ "\n选择轴线")
(setq ss2 (ssget '((0 . "LINE"))))
(setq scale (getreal "\n缩放倍数"))
)
(progn
(while (setq name (ssname ss2 0))
(setq ojb-lst (append ojb-lst (list (vlax-ename->vla-object name))))
(ssdel name ...
| ||
发表于 2020-11-6 09:37:26
|
显示全部楼层
评分 | ||
| ||