CAD Forum - How to quit all open drawings without saving?
If you want to quickly close (abandon, quit) all drawings opened in your AutoCAD session, without saving and without any prompts and questions, you can use the following VisualLISP macro: ;Quit all drawings without saving (CAD Studio - www.cadforum.cz) (vl
www.cadforum.cz
;Quit all drawings without saving (CAD Studio - www.cadforum.cz)
(vl-load-com)
(defun C:QuitAll ( / dwg)
(vlax-for dwg (vla-get-Documents (vlax-get-acad-object))
(if (= (vla-get-active dwg) :vlax-false)(vla-close dwg :vlax-false))
)
(command "._close" "_y")
)반응형
'autocad' 카테고리의 다른 글
| vla-object error (0) | 2026.04.09 |
|---|---|
| OpenDCL Beginner's Tutorial pdf (0) | 2026.03.09 |
| dcl 미리 보기 에러 (0) | 2026.02.25 |
| 아키모아 (0) | 2026.02.23 |
| VLISP 시작하기 (0) | 2026.02.23 |