<?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>tema Re: CUI Close command Macro en AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/cui-close-command-macro/m-p/8596275#M968162</link>
    <description>&lt;P&gt;Well, it looks like it could work the same way, but after a quick test, I experienced some issues (acad 2016).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would probably&amp;nbsp;keep my hands off since this potentially can be a risky mass job. Especially&amp;nbsp;in hands of less-experienced users...&lt;/P&gt;
&lt;P&gt;But you can try luck in the customization forum...&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Feb 2019 15:55:10 GMT</pubDate>
    <dc:creator>ВeekeeCZ</dc:creator>
    <dc:date>2019-02-14T15:55:10Z</dc:date>
    <item>
      <title>CUI Close command Macro</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/cui-close-command-macro/m-p/8594018#M968029</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using Autocad Electrical 2018.&amp;nbsp; My issue is that I am trying to test a command macro that isn't working.&amp;nbsp; I have previously done this with custom buttons so am not sure if what I am doing wrong with this one.&amp;nbsp; I have a simple lisp saved that is autoloaded in ACADDOC.&amp;nbsp; I changed the Macro for Close to be&amp;nbsp;^C^C_.ZeSC&lt;/P&gt;
&lt;P&gt;I can type in ZeSC and it works, but when I type CLOSE in the command line it does not work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What I am trying to do is have the system Zoom Extents Save then Close.&amp;nbsp; We are not liking the fact that many in the office are saving and closing without Zoom Extents so our previous isn't showing us the entire drawing.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope that makes sense.&amp;nbsp; Can anyone help explain?&amp;nbsp; Maybe the close command can't be customized?&amp;nbsp; Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 20:50:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/cui-close-command-macro/m-p/8594018#M968029</guid>
      <dc:creator>Thomasbatson</dc:creator>
      <dc:date>2019-02-13T20:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: CUI Close command Macro</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/cui-close-command-macro/m-p/8594067#M968033</link>
      <description>&lt;P&gt;It's more complicated. You can use the name CLOSE for you routine, but you need to UNDEFINE the autocad's original command first. Then you can use your routine to define contents for the CLOSE command name.&lt;/P&gt;
&lt;P&gt;Your lisp routine should look like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;{*.lsp beginnig}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(command "UNDEFINE" "CLOSE")&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(defun c:CLOSE ()&lt;/P&gt;
&lt;P&gt;(command "_.zoom" "ex")&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(command-s "_.SAVE"&lt;/P&gt;
&lt;P&gt;(command "_.CLOSE").....&amp;nbsp; ; note the DOT!!!!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BTW Your custom command marco definition:&amp;nbsp;&lt;SPAN&gt;^C^C_.ZeSC&amp;nbsp; &amp;nbsp; - Added . (dot) has no sence in here. Also underscore is useless here.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 21:10:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/cui-close-command-macro/m-p/8594067#M968033</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2019-02-13T21:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: CUI Close command Macro</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/cui-close-command-macro/m-p/8596015#M968144</link>
      <description>&lt;P&gt;That works perfect and the solution to that.&amp;nbsp; Thank you.&amp;nbsp; I know it is the answer to the questions and will mark it as solved, however do you know much about the closeall?&amp;nbsp; I am searching now for that solution and it seems much more complicated.&amp;nbsp; Thank you for the advice.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Feb 2019 14:28:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/cui-close-command-macro/m-p/8596015#M968144</guid>
      <dc:creator>Thomasbatson</dc:creator>
      <dc:date>2019-02-14T14:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: CUI Close command Macro</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/cui-close-command-macro/m-p/8596275#M968162</link>
      <description>&lt;P&gt;Well, it looks like it could work the same way, but after a quick test, I experienced some issues (acad 2016).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would probably&amp;nbsp;keep my hands off since this potentially can be a risky mass job. Especially&amp;nbsp;in hands of less-experienced users...&lt;/P&gt;
&lt;P&gt;But you can try luck in the customization forum...&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Feb 2019 15:55:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/cui-close-command-macro/m-p/8596275#M968162</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2019-02-14T15:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: CUI Close command Macro</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/cui-close-command-macro/m-p/8596286#M968163</link>
      <description>&lt;P&gt;It looked the same to me, seemed a bit bigger than the close.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for checking and the help.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Feb 2019 15:57:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/cui-close-command-macro/m-p/8596286#M968163</guid>
      <dc:creator>Thomasbatson</dc:creator>
      <dc:date>2019-02-14T15:57:56Z</dc:date>
    </item>
  </channel>
</rss>

