<?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: Hide Autocad Commands in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/hide-autocad-commands/m-p/7274968#M30314</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can veto a command intercepting&amp;nbsp;&lt;SPAN&gt;DocumentLockModeChanged event that almost any command fires, some code and comments in the next 2 links:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="http://adndevblog.typepad.com/autocad/2012/05/veto-a-particular-command-in-autocad.html" target="_blank"&gt;Veto a particular command&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://through-the-interface.typepad.com/through_the_interface/2006/10/blocking_autoca.html" target="_blank"&gt;Blocking AutoCAD commands&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Gaston Nunez&lt;/P&gt;</description>
    <pubDate>Thu, 03 Aug 2017 17:50:35 GMT</pubDate>
    <dc:creator>hgasty1001</dc:creator>
    <dc:date>2017-08-03T17:50:35Z</dc:date>
    <item>
      <title>Hide Autocad Commands</title>
      <link>https://forums.autodesk.com/t5/net-forum/hide-autocad-commands/m-p/7272107#M30312</link>
      <description>&lt;P&gt;We are building custom application where user can drag and drop from palette toolset. But we don't want user to be able to enter few standard autocad commands. Is there a way to block them? Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2017 18:09:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/hide-autocad-commands/m-p/7272107#M30312</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-02T18:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: Hide Autocad Commands</title>
      <link>https://forums.autodesk.com/t5/net-forum/hide-autocad-commands/m-p/7274315#M30313</link>
      <description>&lt;P&gt;There are a few ways of going about it. You could add those commands to your code which would "hijack" them. Or write to their pgp file, which is sort of a bad idea. I'm not sure of your end goal though.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 14:22:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/hide-autocad-commands/m-p/7274315#M30313</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-03T14:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Hide Autocad Commands</title>
      <link>https://forums.autodesk.com/t5/net-forum/hide-autocad-commands/m-p/7274968#M30314</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can veto a command intercepting&amp;nbsp;&lt;SPAN&gt;DocumentLockModeChanged event that almost any command fires, some code and comments in the next 2 links:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="http://adndevblog.typepad.com/autocad/2012/05/veto-a-particular-command-in-autocad.html" target="_blank"&gt;Veto a particular command&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://through-the-interface.typepad.com/through_the_interface/2006/10/blocking_autoca.html" target="_blank"&gt;Blocking AutoCAD commands&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Gaston Nunez&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 17:50:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/hide-autocad-commands/m-p/7274968#M30314</guid>
      <dc:creator>hgasty1001</dc:creator>
      <dc:date>2017-08-03T17:50:35Z</dc:date>
    </item>
  </channel>
</rss>

