1655| 10
|
在当前布局有多个视口的情况下,实现关闭选中视口/关闭未选中视口显示状态 |
20明经币
最佳答案这简单的东西最好能学一下,另外建议是分开两个命令更有效率,选项越多越麻烦
(defun c:tt5 (/ i key s1 ss)
(setq key (getstring "\n关闭(空格)/独显(S)/全显(A):"))
(if (= key "a") (command "MVIEW" "on" "all" ""))
(if (/= key "a")
(progn (setq ss (ssget '((0 . "VIEWPORT")))) (if (= key "s") (command "MVIEW" "off" "all" ""))
(repeat (setq i (sslength ss))
(setq s1 (vlax-ename ...
| ||
发表于 2022-12-8 14:15:10
|
显示全部楼层
| ||
发表于 2022-12-9 14:22:18
|
显示全部楼层
| ||
| ||
点评
更新了
| ||