<?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: ; error: AutoCAD command rejected: in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/error-autocad-command-rejected/m-p/10211294#M61887</link>
    <description>&lt;P&gt;It does work as a workaround with&amp;nbsp;&lt;STRONG&gt;vl-cmdf.&amp;nbsp;&lt;/STRONG&gt;But why is not (command) working?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 04 Apr 2021 20:57:24 GMT</pubDate>
    <dc:creator>JTBWorld</dc:creator>
    <dc:date>2021-04-04T20:57:24Z</dc:date>
    <item>
      <title>; error: AutoCAD command rejected:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/error-autocad-command-rejected/m-p/10210987#M61883</link>
      <description>&lt;P&gt;Any idea why any AutoLISP command call is not working with attached bundle placed in any of the ApplicationPlugins folders.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bundle code:&lt;/P&gt;&lt;P&gt;&amp;lt;Components&amp;gt;&lt;BR /&gt;&amp;lt;ComponentEntry AppName="test" Version="1.0.0" ModuleName="./Contents/test.lsp"&lt;BR /&gt;PerDocument="True"&amp;gt;&lt;BR /&gt;&amp;lt;/ComponentEntry&amp;gt;&lt;BR /&gt;&amp;lt;/Components&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All enough to trigger this is (command "erase" "").&lt;BR /&gt;(command-s is not working either.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regenerating model.&lt;BR /&gt;Before; error: AutoCAD command rejected: "erase"&lt;BR /&gt;Before; error: AutoCAD command rejected: "erase"&lt;BR /&gt;Before; error: AutoCAD command rejected: "erase"&lt;BR /&gt;Before; error: AutoCAD command rejected: "erase"&lt;BR /&gt;Before; error: AutoCAD command rejected: "erase"&lt;BR /&gt;AutoCAD menu utilities loaded.*Cancel*&lt;BR /&gt;Command:&lt;/P&gt;</description>
      <pubDate>Sun, 04 Apr 2021 16:00:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/error-autocad-command-rejected/m-p/10210987#M61883</guid>
      <dc:creator>JTBWorld</dc:creator>
      <dc:date>2021-04-04T16:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: ; error: AutoCAD command rejected:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/error-autocad-command-rejected/m-p/10211225#M61884</link>
      <description>&lt;P&gt;Might you have something that UNDEFINEs the native ERASE command, and makes a special (defun)'d new version?&amp;nbsp; If so, it should work if you put the &lt;FONT color="#FF0000"&gt;period prefix&lt;/FONT&gt; on the command name, to force the use of the native command:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;(command "&lt;FONT size="4"&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;erase"&lt;/FONT&gt; ...&lt;/P&gt;</description>
      <pubDate>Sun, 04 Apr 2021 19:43:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/error-autocad-command-rejected/m-p/10211225#M61884</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2021-04-04T19:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: ; error: AutoCAD command rejected:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/error-autocad-command-rejected/m-p/10211227#M61885</link>
      <description>&lt;P&gt;Unfortunately not. It doesn't matter what actual command is used.&lt;/P&gt;&lt;P&gt;I've got the same result in AutoCAD 2014 and AutoCAD 2022 on 2 completely different systems.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 04 Apr 2021 19:46:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/error-autocad-command-rejected/m-p/10211227#M61885</guid>
      <dc:creator>JTBWorld</dc:creator>
      <dc:date>2021-04-04T19:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: ; error: AutoCAD command rejected:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/error-autocad-command-rejected/m-p/10211285#M61886</link>
      <description>&lt;P&gt;&lt;FONT face="georgia,palatino" size="4"&gt;You may get it working if you replace the function command with vl-cmdf&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 04 Apr 2021 20:46:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/error-autocad-command-rejected/m-p/10211285#M61886</guid>
      <dc:creator>_Tharwat</dc:creator>
      <dc:date>2021-04-04T20:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: ; error: AutoCAD command rejected:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/error-autocad-command-rejected/m-p/10211294#M61887</link>
      <description>&lt;P&gt;It does work as a workaround with&amp;nbsp;&lt;STRONG&gt;vl-cmdf.&amp;nbsp;&lt;/STRONG&gt;But why is not (command) working?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 04 Apr 2021 20:57:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/error-autocad-command-rejected/m-p/10211294#M61887</guid>
      <dc:creator>JTBWorld</dc:creator>
      <dc:date>2021-04-04T20:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: ; error: AutoCAD command rejected:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/error-autocad-command-rejected/m-p/10211304#M61888</link>
      <description>&lt;P&gt;&lt;FONT face="georgia,palatino" size="4"&gt;I guess, perhaps the autoload bundle suites being loaded before AutoCAD loads its built-in command names and that's why the error message indicated to the rejection of the command name itself.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 04 Apr 2021 21:05:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/error-autocad-command-rejected/m-p/10211304#M61888</guid>
      <dc:creator>_Tharwat</dc:creator>
      <dc:date>2021-04-04T21:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: ; error: AutoCAD command rejected:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/error-autocad-command-rejected/m-p/10223607#M61889</link>
      <description>&lt;P&gt;Synchronous commands are not supported. Therefore AutoCAD will cancel any inward command until the AutoCAD application becomes stable and active.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Workaround is vl-cmdf as an alternative to command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another way that worked is using s::startup&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(defun mystartup ()&lt;/P&gt;&lt;P&gt;(princ "\nloaded")&lt;/P&gt;&lt;P&gt;(command "menubar" "1")&lt;/P&gt;&lt;P&gt;(princ "\nended")&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;(if s::startup&lt;/P&gt;&lt;P&gt;(setq s::startup (append s::startup (quote ((mystartup)))))&lt;/P&gt;&lt;P&gt;(defun s::startup () (mystartup))&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;(princ)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SendStringToExecute used in a DLL will also work.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 00:11:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/error-autocad-command-rejected/m-p/10223607#M61889</guid>
      <dc:creator>JTBWorld</dc:creator>
      <dc:date>2021-04-09T00:11:49Z</dc:date>
    </item>
  </channel>
</rss>

