1293| 2
|
[讨论] 修改一下批量倒角代码 |
10明经币
最佳答案在这行代码"(setq pe (car pts) lst1 nil lst2 nil)" 的上面加上这段代码再试试!!
(vl-load-com)
(setq obj_cad (vlax-get-acad-object))
(setq win_pt1 (apply 'mapcar (cons 'min pts)))
(setq win_pt2 (apply 'mapcar (cons 'max pts)))
;调整当前视口
(vla-ZoomWindow obj_cad (vlax-3D-point win_pt1) (vlax-3D-point win_pt2))
| ||
发表于 2023-2-20 09:46:23
|
显示全部楼层
| ||
| ||