<?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 How to disable perticular command for custom entity in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-disable-perticular-command-for-custom-entity/m-p/3221762#M15315</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This is my first post so all feedbacks are welcome. I have created a custom entity derived from AdDbEntity and I want some commands (such as "explode") not to work on the custom entity (Disabled). Is this possible? If yes how?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;</description>
    <pubDate>Wed, 09 Nov 2011 09:27:03 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-11-09T09:27:03Z</dc:date>
    <item>
      <title>How to disable perticular command for custom entity</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-disable-perticular-command-for-custom-entity/m-p/3221762#M15315</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This is my first post so all feedbacks are welcome. I have created a custom entity derived from AdDbEntity and I want some commands (such as "explode") not to work on the custom entity (Disabled). Is this possible? If yes how?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2011 09:27:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/how-to-disable-perticular-command-for-custom-entity/m-p/3221762#M15315</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-11-09T09:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable perticular command for custom entity</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-disable-perticular-command-for-custom-entity/m-p/3222138#M15316</link>
      <description>Just return an error code from your entity's subExplode() implementation.</description>
      <pubDate>Wed, 09 Nov 2011 14:24:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/how-to-disable-perticular-command-for-custom-entity/m-p/3222138#M15316</guid>
      <dc:creator>owenwengerd</dc:creator>
      <dc:date>2011-11-09T14:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable perticular command for custom entity</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-disable-perticular-command-for-custom-entity/m-p/3223362#M15317</link>
      <description>&lt;P&gt;Owen,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks for suggestion. I have already considered that, but I need to block a couple of commands such as "Explode", "trim" etc. Therefore I was looking for something general and globally applicable. Is it possible to override the functionality of commands for perticular objects (custom entity).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; And can you please also tell the GroupName of EXPLODE command. Or where I can get this type of information?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2011 06:31:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/how-to-disable-perticular-command-for-custom-entity/m-p/3223362#M15317</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-11-10T06:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable perticular command for custom entity</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-disable-perticular-command-for-custom-entity/m-p/3225178#M15318</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="hps"&gt;In general,&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;it is impossible&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;to prohibit&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;AutoCAD commands&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;to work on&lt;/SPAN&gt; &lt;SPAN class="hps atn"&gt;custom entity from DBX-&lt;/SPAN&gt;&lt;SPAN&gt;module.&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;This can be done&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;in the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;ARX-module&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;using&lt;/SPAN&gt; &lt;SPAN class="hps atn"&gt;reactors (&lt;/SPAN&gt;&lt;SPAN&gt;such&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;as&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;AcEdInputContextReactor, AcEdSSGetFilter, AcEditorReactor, etc.)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2011 06:52:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/how-to-disable-perticular-command-for-custom-entity/m-p/3225178#M15318</guid>
      <dc:creator>Alexander.Rivilis</dc:creator>
      <dc:date>2011-11-11T06:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable perticular command for custom entity</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-disable-perticular-command-for-custom-entity/m-p/3231072#M15319</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Alexander.Rivilis&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks for suggestion. Can you please be more specific and if possible give me some code snippet. Basically I need to prevent those actions on custom entity and using reactors all we get is a notification, not control to bypass command. Is there something to do the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2011 11:16:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/how-to-disable-perticular-command-for-custom-entity/m-p/3231072#M15319</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-11-17T11:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable perticular command for custom entity</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-disable-perticular-command-for-custom-entity/m-p/3233384#M15320</link>
      <description>&lt;P&gt;This is simple sample.&lt;/P&gt;
&lt;P&gt;Array of disabled command and array of checked classes defined in function Initialize:&lt;/P&gt;
&lt;PRE&gt;void Initialize()
{
  commands.append(_T("MOVE"));
  commands.append(_T("TRIM"));
  commands.append(_T("EXPLODE"));
  commands.append(_T("LENGTHEN"));
  classNames.append(AcDbLine::desc());
  classNames.append(AcDbCircle::desc());
  classNames.append(AcDbArc::desc());
}
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2011 19:40:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/how-to-disable-perticular-command-for-custom-entity/m-p/3233384#M15320</guid>
      <dc:creator>Alexander.Rivilis</dc:creator>
      <dc:date>2011-11-18T19:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable perticular command for custom entity</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-disable-perticular-command-for-custom-entity/m-p/3235104#M15321</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Alexander.Rivilis&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thank you very much for the solution. It's kind of what I was looking for. &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://forums.autodesk.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;Thanks for your precious time.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Piyush_stiff&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2011 12:14:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/how-to-disable-perticular-command-for-custom-entity/m-p/3235104#M15321</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-11-21T12:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable perticular command for custom entity</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-disable-perticular-command-for-custom-entity/m-p/3235204#M15322</link>
      <description>&lt;P&gt;Last version of code &lt;A href="http://code.google.com/p/rivilis/source/browse/#svn%2FObjectARX%20R18%2FDisableCommands" target="_self"&gt;here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2011 13:29:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/how-to-disable-perticular-command-for-custom-entity/m-p/3235204#M15322</guid>
      <dc:creator>Alexander.Rivilis</dc:creator>
      <dc:date>2011-11-21T13:29:44Z</dc:date>
    </item>
  </channel>
</rss>

