<?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 acedCommand and sendStringToExecute in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/acedcommand-and-sendstringtoexecute/m-p/1200326#M28012</link>
    <description>In certain cases (if AutoCAD is not at the Command prompt ) the function 'acedCommand' does not invoke its input AutoCAD command. I thought to use function virtual Acad::ErrorStatus AcApDocManager::sendStringToExecute(AcApDocument* pAcTargetDocument,const char * pszExecute,bool bActivate = true,bool bWrapUpInactiveDoc = false,bool bEchoString = true) = 0; can anyone help me use this function to do something like 
'acedCommand(RTSTR, "zoom", RTSTR, "all", 0)', thanks a lot</description>
    <pubDate>Wed, 08 Dec 2004 14:58:52 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2004-12-08T14:58:52Z</dc:date>
    <item>
      <title>acedCommand and sendStringToExecute</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/acedcommand-and-sendstringtoexecute/m-p/1200326#M28012</link>
      <description>In certain cases (if AutoCAD is not at the Command prompt ) the function 'acedCommand' does not invoke its input AutoCAD command. I thought to use function virtual Acad::ErrorStatus AcApDocManager::sendStringToExecute(AcApDocument* pAcTargetDocument,const char * pszExecute,bool bActivate = true,bool bWrapUpInactiveDoc = false,bool bEchoString = true) = 0; can anyone help me use this function to do something like 
'acedCommand(RTSTR, "zoom", RTSTR, "all", 0)', thanks a lot</description>
      <pubDate>Wed, 08 Dec 2004 14:58:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/acedcommand-and-sendstringtoexecute/m-p/1200326#M28012</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-12-08T14:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: acedCommand and sendStringToExecute</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/acedcommand-and-sendstringtoexecute/m-p/1200327#M28013</link>
      <description>sendStringToExecute sends the string you provide to the commandline.&lt;BR /&gt;
Try something like: acDocManager-&amp;gt;sendStringToExecute(acDocManager-&amp;gt;mdiActiveDocument(),  ".zoom all\n", true, false, false);</description>
      <pubDate>Wed, 08 Dec 2004 15:27:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/acedcommand-and-sendstringtoexecute/m-p/1200327#M28013</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-12-08T15:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: acedCommand and sendStringToExecute</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/acedcommand-and-sendstringtoexecute/m-p/1200328#M28014</link>
      <description>Thanks very much. when executing the command, in the AutoCAD command line,
there is a sentence: Enter BACKSPACE to interrupt script. Do you know what
it means?

"ggr@nedgraphics.nl" &lt;NOSPAM&gt; wrote in message
news:23656172.1102519686134.JavaMail.jive@jiveforum2.autodesk.com...
&amp;gt; sendStringToExecute sends the string you provide to the commandline.
&amp;gt; Try something like:
acDocManager-&amp;gt;sendStringToExecute(acDocManager-&amp;gt;mdiActiveDocument(),  ".zoom
all\n", true, false, false);&lt;/NOSPAM&gt;</description>
      <pubDate>Wed, 08 Dec 2004 16:21:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/acedcommand-and-sendstringtoexecute/m-p/1200328#M28014</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-12-08T16:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: acedCommand and sendStringToExecute</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/acedcommand-and-sendstringtoexecute/m-p/1200329#M28015</link>
      <description>Thanks very much for your quick help. it works in the case where the
function acedCommand does not work. Thanks again.

"ggr@nedgraphics.nl" &lt;NOSPAM&gt; wrote in message
news:23656172.1102519686134.JavaMail.jive@jiveforum2.autodesk.com...
&amp;gt; sendStringToExecute sends the string you provide to the commandline.
&amp;gt; Try something like:
acDocManager-&amp;gt;sendStringToExecute(acDocManager-&amp;gt;mdiActiveDocument(),  ".zoom
all\n", true, false, false);&lt;/NOSPAM&gt;</description>
      <pubDate>Wed, 08 Dec 2004 16:44:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/acedcommand-and-sendstringtoexecute/m-p/1200329#M28015</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-12-08T16:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: acedCommand and sendStringToExecute</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/acedcommand-and-sendstringtoexecute/m-p/1200330#M28016</link>
      <description>Do you mean what the '\n' at the end in ".zoom all\n" is for?&lt;BR /&gt;
It has the same function as hitting enter on your keyboard after typing a command on the commandline.</description>
      <pubDate>Thu, 09 Dec 2004 07:13:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/acedcommand-and-sendstringtoexecute/m-p/1200330#M28016</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-12-09T07:13:03Z</dc:date>
    </item>
  </channel>
</rss>

