<?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: active command in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/active-command/m-p/315786#M37910</link>
    <description>If you're trying to prevent one command from being&lt;BR /&gt;
used transparently, there are ways to do that.&lt;BR /&gt;
&lt;BR /&gt;
Can you describe in a bit more detail what your&lt;BR /&gt;
objective is?&lt;BR /&gt;
&lt;BR /&gt;
"Paulo Aragao" &lt;ARAGAO&gt; wrote in message news:D9C993180A9491EE39933F45E3D6F8DF@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; There is any way to know if there is any active command???&lt;BR /&gt;
&amp;gt; If so, there is any way to know if it is a command inside another command??&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Thanks,&lt;BR /&gt;
&amp;gt; Aragao&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/ARAGAO&gt;</description>
    <pubDate>Wed, 22 Jan 2003 10:49:02 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2003-01-22T10:49:02Z</dc:date>
    <item>
      <title>active command</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/active-command/m-p/315779#M37903</link>
      <description>There is any way to know if there is any active command???&lt;BR /&gt;
If so, there is any way to know if it is a command inside another command??&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Aragao</description>
      <pubDate>Mon, 20 Jan 2003 10:49:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/active-command/m-p/315779#M37903</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-01-20T10:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: active command</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/active-command/m-p/315780#M37904</link>
      <description>Paulo,&lt;BR /&gt;
&lt;BR /&gt;
Take a look at both CMDACTIVE and CMDNAMES system variables.&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
Fernando.&lt;BR /&gt;
&lt;BR /&gt;
"Paulo Aragao" &lt;ARAGAO&gt; wrote in message&lt;BR /&gt;
news:D9C993180A9491EE39933F45E3D6F8DF@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; There is any way to know if there is any active command???&lt;BR /&gt;
&amp;gt; If so, there is any way to know if it is a command inside another&lt;BR /&gt;
command??&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Thanks,&lt;BR /&gt;
&amp;gt; Aragao&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/ARAGAO&gt;</description>
      <pubDate>Tue, 21 Jan 2003 03:11:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/active-command/m-p/315780#M37904</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-01-21T03:11:56Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/active-command/m-p/315781#M37905</link>
      <description>Hi,&lt;BR /&gt;
Thanks for your suggestion!!&lt;BR /&gt;
&lt;BR /&gt;
CHeers,&lt;BR /&gt;
Aragao&lt;BR /&gt;
"Fernando Poinho Malard" &lt;FPMALARD&gt; escreveu na mensagem&lt;BR /&gt;
news:1076D02A03346F3239EB107DAEB86AE8@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; Paulo,&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Take a look at both CMDACTIVE and CMDNAMES system variables.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Regards,&lt;BR /&gt;
&amp;gt; Fernando.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; "Paulo Aragao" &lt;ARAGAO&gt; wrote in message&lt;BR /&gt;
&amp;gt; news:D9C993180A9491EE39933F45E3D6F8DF@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; &amp;gt; There is any way to know if there is any active command???&lt;BR /&gt;
&amp;gt; &amp;gt; If so, there is any way to know if it is a command inside another&lt;BR /&gt;
&amp;gt; command??&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; Thanks,&lt;BR /&gt;
&amp;gt; &amp;gt; Aragao&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/ARAGAO&gt;&lt;/FPMALARD&gt;</description>
      <pubDate>Tue, 21 Jan 2003 03:24:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/active-command/m-p/315781#M37905</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-01-21T03:24:12Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/active-command/m-p/315782#M37906</link>
      <description>Good question and better answer. But next is howto cancel an active command?&lt;BR /&gt;
Thanks.&lt;BR /&gt;
Luis.</description>
      <pubDate>Tue, 21 Jan 2003 07:47:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/active-command/m-p/315782#M37906</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-01-21T07:47:14Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/active-command/m-p/315783#M37907</link>
      <description>&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;You can use AcEditorReactor::CommandWillStart(const char* strCmd)&amp;nbsp; and &lt;BR /&gt;
acedPostCommand(const char*)&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;PS: acedPostCommand is an external function, so you have to declare &lt;BR /&gt;
it:&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;extern&lt;/FONT&gt;&lt;FONT face="Arial"&gt;&lt;FONT size="2"&gt; &lt;BR /&gt;
Adesk::Boolean acedPostCommand(const char* ); &lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial"&gt;&lt;FONT size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;void&lt;/FONT&gt;&lt;FONT face="Arial" size="2"&gt; &lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;sgAcEditorReactor&lt;/FONT&gt;&lt;FONT face="Arial"&gt;&lt;FONT&gt;&lt;BR /&gt;
size=2&amp;gt;::commandWillStart(const char* cmdStr&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Arial"&gt;&lt;BR /&gt;
size=2&amp;gt;)&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;{&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT color="#008000"&gt;&lt;FONT face="Arial" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Cancel &lt;BR /&gt;
line command.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;FONT color="#000000"&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;/DIV&gt;&lt;/FONT&gt;&lt;FONT face="Arial"&gt;&lt;FONT size="2"&gt;&lt;FONT color="#880000"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;
acutPrintf&lt;/FONT&gt;&lt;FONT color="#000000"&gt;(&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;"\nEvent: &lt;BR /&gt;
commandWillStart (%s)"&lt;/FONT&gt;&lt;FONT color="#000000"&gt;, &lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#808080&amp;gt;cmdStr&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Arial"&gt;&lt;BR /&gt;
size=2&amp;gt;);&lt;/FONT&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;/DIV&gt;&lt;/FONT&gt;&lt;FONT face="Arial"&gt;&lt;FONT size="2"&gt;&lt;FONT color="#0000ff"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;
if&lt;/FONT&gt;&lt;FONT color="#000000"&gt;(&lt;/FONT&gt;&lt;FONT color="#880000"&gt;strcmp&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#000000&amp;gt;(&lt;/FONT&gt;&lt;FONT color="#808080"&gt;cmdStr&lt;/FONT&gt;&lt;FONT color="#000000"&gt;, &lt;BR /&gt;
&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;"LINE"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000000"&gt;&lt;FONT&gt;&lt;BR /&gt;
face=Arial size=2&amp;gt;) == 0)&lt;/FONT&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;/DIV&gt;&lt;/FONT&gt;&lt;FONT face="Arial"&gt;&lt;FONT size="2"&gt;&lt;FONT color="#880000"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; acutPrintf&lt;/FONT&gt;&lt;FONT color="#000000"&gt;(&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#ff0000&amp;gt;"\nComando indisponível"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#000000&amp;gt;&lt;FONT face="Arial" size="2"&gt;);&lt;/FONT&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;/DIV&gt;&lt;/FONT&gt;&lt;FONT face="Arial"&gt;&lt;FONT size="2"&gt;&lt;FONT color="#880000"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; acedPostCommand&lt;/FONT&gt;&lt;FONT color="#000000"&gt;(&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#ff0000&amp;gt;"CANCELCMD"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000000"&gt;&lt;FONT&gt;&lt;BR /&gt;
face=Arial size=2&amp;gt;);&lt;/FONT&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/FONT&gt;&lt;/DIV&gt;&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#000000&amp;gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;}&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;CHeers,&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;Aragao&lt;/FONT&gt;&lt;/DIV&gt;&lt;/FONT&gt;&lt;BR /&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;"domotica" &amp;lt;&lt;A&gt;&lt;BR /&gt;
href="mailto:domotica@isa.uniovi.es"&amp;gt;domotica@isa.uniovi.es&lt;/A&gt;&amp;gt; escreveu na &lt;BR /&gt;
mensagem &lt;A&gt;&lt;BR /&gt;
href="news:f13a60e.2@WebX.maYIadrTaRb"&amp;gt;news:f13a60e.2@WebX.maYIadrTaRb&lt;/A&gt;...&lt;/DIV&gt;&amp;gt; &lt;BR /&gt;
Good question and better answer. But next is howto cancel an active &lt;BR /&gt;
command?&lt;BR /&gt;&amp;gt; Thanks.&lt;BR /&gt;&amp;gt; Luis.&lt;BR /&gt;&amp;gt; &lt;BR /&gt;&amp;gt;</description>
      <pubDate>Wed, 22 Jan 2003 02:13:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/active-command/m-p/315783#M37907</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-01-22T02:13:37Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/active-command/m-p/315784#M37908</link>
      <description>&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;I'll try it.&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;Thank you. &lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;&lt;BR /&gt;
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"&amp;gt;&lt;BR /&gt;
  &lt;DIV&gt;"Paulo Aragao" &amp;lt;&lt;A&gt;&lt;BR /&gt;
  href="mailto:aragao@cpqd.com.br"&amp;gt;aragao@cpqd.com.br&lt;/A&gt;&amp;gt; escribió en el &lt;BR /&gt;
  mensaje &lt;A&gt;&lt;BR /&gt;
  href="news:4B80C915A20E73309D8A72722D3EB697@in.WebX.maYIadrTaRb"&amp;gt;news:4B80C915A20E73309D8A72722D3EB697@in.WebX.maYIadrTaRb&lt;/A&gt;...&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;You can use AcEditorReactor::CommandWillStart(const char* strCmd)&amp;nbsp; &lt;BR /&gt;
  and acedPostCommand(const char*)&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;PS: acedPostCommand is an external function, so you have to declare &lt;BR /&gt;
  it:&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;extern&lt;/FONT&gt;&lt;FONT face="Arial"&gt;&lt;FONT size="2"&gt; &lt;BR /&gt;
  Adesk::Boolean acedPostCommand(const char* ); &lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Arial"&gt;&lt;FONT size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;void&lt;/FONT&gt;&lt;FONT face="Arial" size="2"&gt; &lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;sgAcEditorReactor&lt;/FONT&gt;&lt;FONT face="Arial"&gt;&lt;FONT&gt;&lt;BR /&gt;
  size=2&amp;gt;::commandWillStart(const char* cmdStr&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Arial"&gt;&lt;BR /&gt;
  size=2&amp;gt;)&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;{&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT color="#008000"&gt;&lt;FONT face="Arial" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Cancel &lt;BR /&gt;
  line command.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;FONT color="#000000"&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;/DIV&gt;&lt;/FONT&gt;&lt;FONT face="Arial"&gt;&lt;FONT size="2"&gt;&lt;FONT&gt;&lt;BR /&gt;
  color=#880000&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; acutPrintf&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
  color=#000000&amp;gt;(&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;"\nEvent: commandWillStart &lt;BR /&gt;
  (%s)"&lt;/FONT&gt;&lt;FONT color="#000000"&gt;, &lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
  color=#808080&amp;gt;cmdStr&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Arial"&gt;&lt;BR /&gt;
  size=2&amp;gt;);&lt;/FONT&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;/DIV&gt;&lt;/FONT&gt;&lt;FONT face="Arial"&gt;&lt;FONT size="2"&gt;&lt;FONT&gt;&lt;BR /&gt;
  color=#0000ff&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if&lt;/FONT&gt;&lt;FONT color="#000000"&gt;(&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
  color=#880000&amp;gt;strcmp&lt;/FONT&gt;&lt;FONT color="#000000"&gt;(&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
  color=#808080&amp;gt;cmdStr&lt;/FONT&gt;&lt;FONT color="#000000"&gt;, &lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
  color=#ff0000&amp;gt;"LINE"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Arial"&gt;&lt;BR /&gt;
  size=2&amp;gt;) == 0)&lt;/FONT&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;/DIV&gt;&lt;/FONT&gt;&lt;FONT face="Arial"&gt;&lt;FONT size="2"&gt;&lt;FONT&gt;&lt;BR /&gt;
  color=#880000&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; acutPrintf&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
  color=#000000&amp;gt;(&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;"\nComando &lt;BR /&gt;
  indisponível"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Arial"&gt;&lt;BR /&gt;
  size=2&amp;gt;);&lt;/FONT&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;/DIV&gt;&lt;/FONT&gt;&lt;FONT face="Arial"&gt;&lt;FONT size="2"&gt;&lt;FONT&gt;&lt;BR /&gt;
  color=#880000&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;
  acedPostCommand&lt;/FONT&gt;&lt;FONT color="#000000"&gt;(&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
  color=#ff0000&amp;gt;"CANCELCMD"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000000"&gt;&lt;FONT&gt;&lt;BR /&gt;
  face=Arial size=2&amp;gt;);&lt;/FONT&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/FONT&gt;&lt;/DIV&gt;&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
  color=#000000&amp;gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;}&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;CHeers,&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;Aragao&lt;/FONT&gt;&lt;/DIV&gt;&lt;/FONT&gt;&lt;BR /&gt;
  &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;"domotica" &amp;lt;&lt;A&gt;&lt;BR /&gt;
  href="mailto:domotica@isa.uniovi.es"&amp;gt;domotica@isa.uniovi.es&lt;/A&gt;&amp;gt; escreveu &lt;BR /&gt;
  na mensagem &lt;A&gt;&lt;BR /&gt;
  href="news:f13a60e.2@WebX.maYIadrTaRb"&amp;gt;news:f13a60e.2@WebX.maYIadrTaRb&lt;/A&gt;...&lt;/DIV&gt;&amp;gt; &lt;BR /&gt;
  Good question and better answer. But next is howto cancel an active &lt;BR /&gt;
  command?&lt;BR /&gt;&amp;gt; Thanks.&lt;BR /&gt;&amp;gt; Luis.&lt;BR /&gt;&amp;gt; &lt;BR /&gt;&amp;gt; &lt;BR /&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Wed, 22 Jan 2003 08:43:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/active-command/m-p/315784#M37908</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-01-22T08:43:05Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/active-command/m-p/315785#M37909</link>
      <description>&lt;DIV&gt;Once a command is already in progress, you will be unable to use the &lt;BR /&gt;
reactor technique.&lt;BR /&gt;&lt;BR /&gt;If you have determined that a command is active you &lt;BR /&gt;
can also use the following &lt;BR /&gt;
call:&lt;BR /&gt;&lt;BR /&gt;acDocManager-&amp;gt;sendStringToExecute(curDocument, _T("\3\3"), &lt;BR /&gt;
false, false, false);&lt;BR /&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;regards&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;Mark&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BLOCKQUOTE dir="ltr"&gt;&lt;BR /&gt;
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"&amp;gt;&lt;BR /&gt;
  &lt;DIV&gt;"domotica" &amp;lt;&lt;A&gt;&lt;BR /&gt;
  href="mailto:domotica@isa.uniovi.es"&amp;gt;domotica@isa.uniovi.es&lt;/A&gt;&amp;gt; wrote in &lt;BR /&gt;
  message &lt;A&gt;&lt;BR /&gt;
  href="news:638F70FEDB13AFEE36DF5E0D65F7CA68@in.WebX.maYIadrTaRb"&amp;gt;news:638F70FEDB13AFEE36DF5E0D65F7CA68@in.WebX.maYIadrTaRb&lt;/A&gt;...&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;I'll try it.&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;Thank you. &lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;BLOCKQUOTE&gt;&lt;BR /&gt;
  style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"&amp;gt;&lt;BR /&gt;
    &lt;DIV&gt;"Paulo Aragao" &amp;lt;&lt;A&gt;&lt;BR /&gt;
    href="mailto:aragao@cpqd.com.br"&amp;gt;aragao@cpqd.com.br&lt;/A&gt;&amp;gt; escribió en el &lt;BR /&gt;
    mensaje &lt;A&gt;&lt;BR /&gt;
    href="news:4B80C915A20E73309D8A72722D3EB697@in.WebX.maYIadrTaRb"&amp;gt;news:4B80C915A20E73309D8A72722D3EB697@in.WebX.maYIadrTaRb&lt;/A&gt;...&lt;/DIV&gt;&lt;BR /&gt;
    &lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;BR /&gt;
    &lt;DIV&gt;You can use AcEditorReactor::CommandWillStart(const char* strCmd)&amp;nbsp; &lt;BR /&gt;
    and acedPostCommand(const char*)&lt;/DIV&gt;&lt;BR /&gt;
    &lt;DIV&gt;PS: acedPostCommand is an external function, so you have to declare &lt;BR /&gt;
    it:&lt;/DIV&gt;&lt;BR /&gt;
    &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
    &lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;extern&lt;/FONT&gt;&lt;FONT face="Arial"&gt;&lt;FONT size="2"&gt; &lt;BR /&gt;
    Adesk::Boolean acedPostCommand(const char* ); &lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
    &lt;DIV&gt;&lt;FONT face="Arial"&gt;&lt;FONT size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
    &lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;void&lt;/FONT&gt;&lt;FONT face="Arial" size="2"&gt; &lt;BR /&gt;
    &lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
    &lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;sgAcEditorReactor&lt;/FONT&gt;&lt;FONT face="Arial"&gt;&lt;FONT&gt;&lt;BR /&gt;
    size=2&amp;gt;::commandWillStart(const char* cmdStr&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Arial"&gt;&lt;BR /&gt;
    size=2&amp;gt;)&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
    &lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;{&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
    &lt;DIV&gt;&lt;FONT color="#008000"&gt;&lt;FONT face="Arial" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // &lt;BR /&gt;
    Cancel line command.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;FONT color="#000000"&gt;&lt;BR /&gt;
    &lt;DIV&gt;&lt;/DIV&gt;&lt;/FONT&gt;&lt;FONT face="Arial"&gt;&lt;FONT size="2"&gt;&lt;FONT&gt;&lt;BR /&gt;
    color=#880000&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; acutPrintf&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
    color=#000000&amp;gt;(&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;"\nEvent: commandWillStart &lt;BR /&gt;
    (%s)"&lt;/FONT&gt;&lt;FONT color="#000000"&gt;, &lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
    color=#808080&amp;gt;cmdStr&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000000"&gt;&lt;FONT&gt;&lt;BR /&gt;
    face=Arial size=2&amp;gt;);&lt;/FONT&gt;&lt;BR /&gt;
    &lt;DIV&gt;&lt;/DIV&gt;&lt;/FONT&gt;&lt;FONT face="Arial"&gt;&lt;FONT size="2"&gt;&lt;FONT&gt;&lt;BR /&gt;
    color=#0000ff&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if&lt;/FONT&gt;&lt;FONT color="#000000"&gt;(&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
    color=#880000&amp;gt;strcmp&lt;/FONT&gt;&lt;FONT color="#000000"&gt;(&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
    color=#808080&amp;gt;cmdStr&lt;/FONT&gt;&lt;FONT color="#000000"&gt;, &lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
    color=#ff0000&amp;gt;"LINE"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000000"&gt;&lt;FONT&gt;&lt;BR /&gt;
    face=Arial size=2&amp;gt;) == 0)&lt;/FONT&gt;&lt;BR /&gt;
    &lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
    &lt;DIV&gt;&lt;/DIV&gt;&lt;/FONT&gt;&lt;FONT face="Arial"&gt;&lt;FONT size="2"&gt;&lt;FONT&gt;&lt;BR /&gt;
    color=#880000&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; acutPrintf&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
    color=#000000&amp;gt;(&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;"\nComando &lt;BR /&gt;
    indisponível"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Arial"&gt;&lt;BR /&gt;
    size=2&amp;gt;);&lt;/FONT&gt;&lt;BR /&gt;
    &lt;DIV&gt;&lt;/DIV&gt;&lt;/FONT&gt;&lt;FONT face="Arial"&gt;&lt;FONT size="2"&gt;&lt;FONT&gt;&lt;BR /&gt;
    color=#880000&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;
    acedPostCommand&lt;/FONT&gt;&lt;FONT color="#000000"&gt;(&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
    color=#ff0000&amp;gt;"CANCELCMD"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000000"&gt;&lt;FONT&gt;&lt;BR /&gt;
    face=Arial size=2&amp;gt;);&lt;/FONT&gt;&lt;BR /&gt;
    &lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/FONT&gt;&lt;/DIV&gt;&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
    color=#000000&amp;gt;&lt;BR /&gt;
    &lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;}&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
    &lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
    &lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;CHeers,&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
    &lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;Aragao&lt;/FONT&gt;&lt;/DIV&gt;&lt;/FONT&gt;&lt;BR /&gt;
    &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
    &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
    &lt;DIV&gt;"domotica" &amp;lt;&lt;A&gt;&lt;BR /&gt;
    href="mailto:domotica@isa.uniovi.es"&amp;gt;domotica@isa.uniovi.es&lt;/A&gt;&amp;gt; escreveu &lt;BR /&gt;
    na mensagem &lt;A&gt;&lt;BR /&gt;
    href="news:f13a60e.2@WebX.maYIadrTaRb"&amp;gt;news:f13a60e.2@WebX.maYIadrTaRb&lt;/A&gt;...&lt;/DIV&gt;&amp;gt; &lt;BR /&gt;
    Good question and better answer. But next is howto cancel an active &lt;BR /&gt;
    command?&lt;BR /&gt;&amp;gt; Thanks.&lt;BR /&gt;&amp;gt; Luis.&lt;BR /&gt;&amp;gt; &lt;BR /&gt;&amp;gt; &lt;BR /&gt;
&lt;/BLOCKQUOTE&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Wed, 22 Jan 2003 10:36:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/active-command/m-p/315785#M37909</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-01-22T10:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: active command</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/active-command/m-p/315786#M37910</link>
      <description>If you're trying to prevent one command from being&lt;BR /&gt;
used transparently, there are ways to do that.&lt;BR /&gt;
&lt;BR /&gt;
Can you describe in a bit more detail what your&lt;BR /&gt;
objective is?&lt;BR /&gt;
&lt;BR /&gt;
"Paulo Aragao" &lt;ARAGAO&gt; wrote in message news:D9C993180A9491EE39933F45E3D6F8DF@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; There is any way to know if there is any active command???&lt;BR /&gt;
&amp;gt; If so, there is any way to know if it is a command inside another command??&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Thanks,&lt;BR /&gt;
&amp;gt; Aragao&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/ARAGAO&gt;</description>
      <pubDate>Wed, 22 Jan 2003 10:49:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/active-command/m-p/315786#M37910</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-01-22T10:49:02Z</dc:date>
    </item>
  </channel>
</rss>

