Visual LISP, AutoLISP and General Customization
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Closing AutoCad and Saving Drawing
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
176 Views, 1 Replies
12-14-2011 02:45 PM
I am trying to figure out how to alter the close program and close drawing commands (the X method in the upper left corners). What I want to do is purge the drawing before closing without having to do a single purge command first then closing. I want to CLOSE X to purge then close the drawings.
Anyone have suggestions? I have modified the CLOSE commands withing the CUI files but this does not effect the X command.
Re: Closing AutoCad and Saving Drawing
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
12-17-2011 07:16 AM in reply to:
alan1959
Redefine the Close command.
(command "_.undefine" "_.close") (defun c:Close (/) (command "_.-purge" "_REGAPPS" "*" "_NO" "_.close") (princ))
