<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Change default SAVE settings to NO when closing from drawing tab. in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-default-save-settings-to-no-when-closing-from-drawing-tab/m-p/8614820#M92343</link>
    <description>&lt;P&gt;&lt;A href="http://www.cadforum.cz/cadforum_en/how-to-quit-all-open-drawings-without-saving-tip7723" target="_blank" rel="noopener"&gt;http://www.cadforum.cz/cadforum_en/how-to-quit-all-open-drawings-without-saving-tip7723&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 22 Feb 2019 16:40:58 GMT</pubDate>
    <dc:creator>dlanorh</dc:creator>
    <dc:date>2019-02-22T16:40:58Z</dc:date>
    <item>
      <title>Change default SAVE settings to NO when closing from drawing tab.</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-default-save-settings-to-no-when-closing-from-drawing-tab/m-p/8614737#M92340</link>
      <description>&lt;P&gt;I open a lot of drawings in AutoCAD 2019 just to examine details or copy elements but rarely make changes that need to be saved. When I hit the X in the drawing tab at the top of the screen to close a drawing, AutoCAD opens a dialogue box asking if I want to save: Yes or No. The default setting is Yes but I almost never want to save. How can I change this default to No?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Feb 2019 16:13:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-default-save-settings-to-no-when-closing-from-drawing-tab/m-p/8614737#M92340</guid>
      <dc:creator>shoffmanHLUYT</dc:creator>
      <dc:date>2019-02-22T16:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: Change default SAVE settings to NO when closing from drawing tab.</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-default-save-settings-to-no-when-closing-from-drawing-tab/m-p/8614784#M92341</link>
      <description>&lt;P&gt;No. You cannot change the default for that dialog.&lt;/P&gt;
&lt;P&gt;I suggest you to create a&amp;nbsp;new big button called&amp;nbsp;NoSave Closing, put it as the very last item on Ribbon/Home.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The macro would be:&lt;/P&gt;
&lt;PRE&gt;^c^c'((lambda () (command "_.Close") (if (&amp;gt; (getvar 'cmdactive) 0) (command "_Yes"))))&lt;/PRE&gt;</description>
      <pubDate>Fri, 22 Feb 2019 16:29:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-default-save-settings-to-no-when-closing-from-drawing-tab/m-p/8614784#M92341</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2019-02-22T16:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: Change default SAVE settings to NO when closing from drawing tab.</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-default-save-settings-to-no-when-closing-from-drawing-tab/m-p/8614793#M92342</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7154434"&gt;@shoffmanHLUYT&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;copy &amp;amp; paste the following command (code lines) to your acad.lsp (or acaddoc.lsp) file.&lt;/P&gt;
&lt;P&gt;the command is based on dbmod sysvar (kind of flag) which is set when a save is needed on closing files.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;this work only from the command line. to have this to work from the x icon it's a different 'story'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;enjoy&lt;/P&gt;
&lt;P&gt;moshe&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(defun c:q ()
 (if (= (getvar "dbmod") 0)
  (command "._close")
  (command ".close" "_Yes") 
 )
)&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Feb 2019 16:31:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-default-save-settings-to-no-when-closing-from-drawing-tab/m-p/8614793#M92342</guid>
      <dc:creator>Moshe-A</dc:creator>
      <dc:date>2019-02-22T16:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: Change default SAVE settings to NO when closing from drawing tab.</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-default-save-settings-to-no-when-closing-from-drawing-tab/m-p/8614820#M92343</link>
      <description>&lt;P&gt;&lt;A href="http://www.cadforum.cz/cadforum_en/how-to-quit-all-open-drawings-without-saving-tip7723" target="_blank" rel="noopener"&gt;http://www.cadforum.cz/cadforum_en/how-to-quit-all-open-drawings-without-saving-tip7723&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Feb 2019 16:40:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-default-save-settings-to-no-when-closing-from-drawing-tab/m-p/8614820#M92343</guid>
      <dc:creator>dlanorh</dc:creator>
      <dc:date>2019-02-22T16:40:58Z</dc:date>
    </item>
  </channel>
</rss>

