<?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: Undefine \ Redefine AutoCAD Commands in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/undefine-redefine-autocad-commands/m-p/8098323#M25487</link>
    <description>&lt;P&gt;Norman,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for this info&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can&amp;nbsp;a user temporary override this in order to have the native command?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Jun 2018 16:09:28 GMT</pubDate>
    <dc:creator>Moshe-A</dc:creator>
    <dc:date>2018-06-28T16:09:28Z</dc:date>
    <item>
      <title>Undefine \ Redefine AutoCAD Commands</title>
      <link>https://forums.autodesk.com/t5/net-forum/undefine-redefine-autocad-commands/m-p/8096866#M25485</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many of us here knows that one can undefine\redefine an AutoCAD standard commands but still he&amp;nbsp;it&amp;nbsp;be invoked by using the dot prefix.&amp;nbsp;lately i encounterd some applications that disbales standard AutoCAD commands totally&lt;/P&gt;&lt;P&gt;i mean even trying to invoke it with dot prefix.&amp;nbsp;maybe it's an objectarx \ net application?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can someone here elaborate on this, can it be done with VisualLISP\ActiveX?&lt;/P&gt;&lt;P&gt;can a user temporary override this? (if he wants to invoke the native command)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;Moshe&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 07:45:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/undefine-redefine-autocad-commands/m-p/8096866#M25485</guid>
      <dc:creator>Moshe-A</dc:creator>
      <dc:date>2018-06-28T07:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: Undefine \ Redefine AutoCAD Commands</title>
      <link>https://forums.autodesk.com/t5/net-forum/undefine-redefine-autocad-commands/m-p/8097610#M25486</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/52747"&gt;@Moshe-A&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi Guys,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
... ...
&lt;P&gt;can someone here elaborate on this, can it be done with VisualLISP\ActiveX?&lt;/P&gt;
&lt;P&gt;can a user temporary override this? (if he wants to invoke the native command)&lt;/P&gt;
&lt;P&gt;... ...&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;This forum is about AutoCAD .NET API topics. Not sure why you are seeking LISP/ActiveX solution/explanation of how-to here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyway, if you use/program with .NET API,&amp;nbsp;you can veto a command in&amp;nbsp;DocumentLockModeChanged event handler based on certain condition, so that the command can appear as if undefined/redefined. However, with AutoCAD COM API/ActiveX&amp;nbsp;you cannot do it.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 12:58:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/undefine-redefine-autocad-commands/m-p/8097610#M25486</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2018-06-28T12:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: Undefine \ Redefine AutoCAD Commands</title>
      <link>https://forums.autodesk.com/t5/net-forum/undefine-redefine-autocad-commands/m-p/8098323#M25487</link>
      <description>&lt;P&gt;Norman,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for this info&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can&amp;nbsp;a user temporary override this in order to have the native command?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 16:09:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/undefine-redefine-autocad-commands/m-p/8098323#M25487</guid>
      <dc:creator>Moshe-A</dc:creator>
      <dc:date>2018-06-28T16:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: Undefine \ Redefine AutoCAD Commands</title>
      <link>https://forums.autodesk.com/t5/net-forum/undefine-redefine-autocad-commands/m-p/8100554#M25488</link>
      <description>&lt;P&gt;I am not sure I understand your question here: we are talking, in programming forum, about writing code/program to undefine/redefine AutoCAD command. So, when&amp;nbsp;the code/program is loaded and used by user, he/she can only do what your code allows to do, "override" or not, it is up to the programmer's to decide.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When doing this with DocumentLockModeChanged event handler, it is likely the code would use the command's name as the criteria of conditions to decide if a newly started command to be vetoed or not. In this case, it does not really matters if the command name is of a native command's or of a custom command (such CommandMethod defined with .NET API).&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jun 2018 13:20:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/undefine-redefine-autocad-commands/m-p/8100554#M25488</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2018-06-29T13:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: Undefine \ Redefine AutoCAD Commands</title>
      <link>https://forums.autodesk.com/t5/net-forum/undefine-redefine-autocad-commands/m-p/8100678#M25489</link>
      <description>&lt;P&gt;Norman,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;take this senario, a user have objarx/net application (never mind names&amp;nbsp;from known reasons) the application overrides the purge command and behave diffrent from the origin. also the user have some lisp macros that make use of purge command and the lisp&amp;nbsp;fails due to that override.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What would you seggest him to do? (he does not allowed to get rid of the application)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;also think&amp;nbsp;of this:&lt;/P&gt;&lt;P&gt;Autodesk allowes a programer to&amp;nbsp;veto a standard command and the override command does not&lt;/P&gt;&lt;P&gt;works&amp;nbsp;well&amp;nbsp;or even worth, crash the program from time to time and the simple user does not even knows that the issue is with that application, he blaims AutoCAD. and all of this prevent him from doing his job.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;don't you think&amp;nbsp;Autodesk should add&amp;nbsp;some setting to give the user some control&amp;nbsp; on this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Moshe&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jun 2018 13:57:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/undefine-redefine-autocad-commands/m-p/8100678#M25489</guid>
      <dc:creator>Moshe-A</dc:creator>
      <dc:date>2018-06-29T13:57:49Z</dc:date>
    </item>
  </channel>
</rss>

