<?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 Starting with AutoCAD Commands in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/starting-with-autocad-commands/m-p/7306990#M30097</link>
    <description>&lt;P&gt;I have just started delving into the whole AutoCAD world, I have been tasked with creating a command and just making it work from the AUTOCAD make wizard, I know this might sound as basic as it can get, but i have checked the various tutorials and also the manual that comes with the OEM installation, but I still cannot get my command to work. Here are the steps I have taken so far&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Create new Project&lt;/LI&gt;&lt;LI&gt;Entered project information&lt;/LI&gt;&lt;LI&gt;Loaded my .net C# command dll( only one command), I set the build type of the module to BindMngd&lt;/LI&gt;&lt;LI&gt;Set the command in the module settings window, e.g TestCommand under commands&lt;/LI&gt;&lt;LI&gt;Then build.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The works completes successfully without any errors but I cannot access the command from the created AutoCAD, I am am unsure what might be wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have decorated my command class with the command class attribute using the assembly directive. I have also created a void method that i decorated with the commandMethod attribute, all it does is create a predefined string on the screen.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Thu, 17 Aug 2017 07:24:32 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-08-17T07:24:32Z</dc:date>
    <item>
      <title>Starting with AutoCAD Commands</title>
      <link>https://forums.autodesk.com/t5/net-forum/starting-with-autocad-commands/m-p/7306990#M30097</link>
      <description>&lt;P&gt;I have just started delving into the whole AutoCAD world, I have been tasked with creating a command and just making it work from the AUTOCAD make wizard, I know this might sound as basic as it can get, but i have checked the various tutorials and also the manual that comes with the OEM installation, but I still cannot get my command to work. Here are the steps I have taken so far&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Create new Project&lt;/LI&gt;&lt;LI&gt;Entered project information&lt;/LI&gt;&lt;LI&gt;Loaded my .net C# command dll( only one command), I set the build type of the module to BindMngd&lt;/LI&gt;&lt;LI&gt;Set the command in the module settings window, e.g TestCommand under commands&lt;/LI&gt;&lt;LI&gt;Then build.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The works completes successfully without any errors but I cannot access the command from the created AutoCAD, I am am unsure what might be wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have decorated my command class with the command class attribute using the assembly directive. I have also created a void method that i decorated with the commandMethod attribute, all it does is create a predefined string on the screen.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 07:24:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/starting-with-autocad-commands/m-p/7306990#M30097</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-17T07:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Starting with AutoCAD Commands</title>
      <link>https://forums.autodesk.com/t5/net-forum/starting-with-autocad-commands/m-p/7307673#M30098</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;&lt;P&gt;I have just started delving into the whole AutoCAD world, I have been tasked with creating a command and just making it work from the AUTOCAD make wizard, I know this might sound as basic as it can get, but i have checked the various tutorials and also the manual that comes with the OEM installation, but I still cannot get my command to work. Here are the steps I have taken so far&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Create new Project&lt;/LI&gt;&lt;LI&gt;Entered project information&lt;/LI&gt;&lt;LI&gt;Loaded my .net C# command dll( only one command), I set the build type of the module to BindMngd&lt;/LI&gt;&lt;LI&gt;Set the command in the module settings window, e.g TestCommand under commands&lt;/LI&gt;&lt;LI&gt;Then build.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The works completes successfully without any errors but I cannot access the command from the created AutoCAD, I am am unsure what might be wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have decorated my command class with the command class attribute using the assembly directive. I have also created a void method that i decorated with the commandMethod attribute, all it does is create a predefined string on the screen.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;"the manual that comes with the OEM installation".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What OEM installation is that? &amp;nbsp;AutoCAD OEM ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wouldn't expect anyone who reads your post to be able to tell you what the problem is, because you haven't posted any code, and that means one can only guess about what's wrong. The symptoms seem very much like there is an exception being thrown when your DLL&amp;nbsp;is loaded. If that happens, AutoCAD doesn't register your commands, and they are not available.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 12:34:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/starting-with-autocad-commands/m-p/7307673#M30098</guid>
      <dc:creator>ActivistInvestor</dc:creator>
      <dc:date>2017-08-17T12:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: Starting with AutoCAD Commands</title>
      <link>https://forums.autodesk.com/t5/net-forum/starting-with-autocad-commands/m-p/7309659#M30099</link>
      <description>&lt;P&gt;hi there&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i agree with activist - it's nigh impossible to identify &amp;nbsp;your problem given the information you've provided.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but nonetheless perhaps the following might be of assistance:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;a screencast i recorded and&lt;/LI&gt;
&lt;LI&gt;.net wizards&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://usa.autodesk.com/adsk/servlet/index?siteID=123112&amp;amp;id=1911627" target="_blank"&gt;http://usa.autodesk.com/adsk/servlet/index?siteID=123112&amp;amp;id=1911627&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="wizards.PNG" style="width: 705px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/391268i329A2B49AACCC10D/image-size/large?v=v2&amp;amp;px=999" role="button" title="wizards.PNG" alt="wizards.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;IFRAME src="https://screencast.autodesk.com/Embed/Timeline/05921042-cc4f-4f26-bdb9-99b17037bf6f" width="640" height="620" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" style="display: inline;"&gt;&lt;/IFRAME&gt;&lt;/P&gt;
&lt;DIV id="05921042-cc4f-4f26-bdb9-99b17037bf6f" class="myscreencast-iframe iframe-container active-myscreencast"&gt;&lt;IFRAME src="https://screencast.autodesk.com/Embed/Timeline/05921042-cc4f-4f26-bdb9-99b17037bf6f" width="640" height="620" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" style="display: inline;"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 18 Aug 2017 00:03:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/starting-with-autocad-commands/m-p/7309659#M30099</guid>
      <dc:creator>BKSpurgeon</dc:creator>
      <dc:date>2017-08-18T00:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: Starting with AutoCAD Commands</title>
      <link>https://forums.autodesk.com/t5/net-forum/starting-with-autocad-commands/m-p/7310171#M30100</link>
      <description>&lt;P&gt;Hi There, sorry if I did not provide enough information. I am using AutoCAD OEM 2017, I have gotten to the point where I can build and run the commands, here is what was missing&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;The Logical Name&lt;/LI&gt;&lt;LI&gt;Load Controls ( I set it to 2)&lt;/LI&gt;&lt;LI&gt;Enabled Managed Code &amp;nbsp;in Visual Studio&lt;/LI&gt;&lt;LI&gt;Enabled Native Code Mode.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;And the commands works and registers in AutoCAD after that, what still doesnt work is NETLOAD, after setting LoadControls to 0, Netload will crash the application. I think I will need to need to read a bit more about akllowed Paths in AutoCAD from the info that I found on the NET.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2017 06:58:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/starting-with-autocad-commands/m-p/7310171#M30100</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-18T06:58:24Z</dc:date>
    </item>
  </channel>
</rss>

