5768| 34
|
[提问] 求助!用lisp如何循环进入选择的视口内 |
1明经币
最佳答案(defun c:ms (/ e doc)
(setq doc (vla-get-ActiveDocument (vlax-get-acad-object)))
(vla-put-mspace doc :vlax-false)
(if (and (setq e (car (entsel "\n选取视口进入模型空间或: "))) (= "VIEWPORT" (cdr (assoc 0 (entget e)))))
(progn
(vla-put-mspace doc :vlax-true)
(vla-put-activepviewport doc (vlax-ename->vla-object e))
)
)
(princ)
)
可能不知道你的意图,循环进 ...
| ||
发表于 2022-5-17 19:25:06
|
显示全部楼层
评分 | ||
| ||
发表于 2022-5-17 20:52:36
|
显示全部楼层
| |
| ||
| ||
发表于 2022-5-19 07:31:30
|
显示全部楼层
| ||
| ||
| ||