vnanhvu Posted June 26, 2011 Share Posted June 26, 2011 This is Tharwat's Lisp (Defun c: Kiểm tra () (command "_.close" "_Y") (princ)) . But only with one drawing. Tharwat or someone can develope it more, for close all without save drawing. Thanks for all! Quote Link to comment Share on other sites More sharing options...
Cad64 Posted June 26, 2011 Share Posted June 26, 2011 someone can develope it more, for close all without save drawing. That would be a very dangerous routine in my opinion and I would highly recommend that you don't use an automatic routine that closes without saving because you might accidentally use it when you shouldn't and end up losing all of your work up to that point. If you want to close without saving you should do it manually and make absolutely sure that's what you really want to do. This is something I don't think should be automated. But if you really think you need this, I would suggest incorporating a warning message pop up with big bold red letters telling you that Autocad is about to close all drawings without saving and ask if you really want to do this. Just my 2 cents. Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted June 26, 2011 Share Posted June 26, 2011 CloseAll command (will prompt for save changes). No way to bypass the prompt since the current drawing is no longer active. Quote Link to comment Share on other sites More sharing options...
Tharwat Posted June 26, 2011 Share Posted June 26, 2011 I do agree with Cad64 , so be careful while using this kind of actions . Same thread a few days ago Tharwat Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.