<?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: my first autocad plugin in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/my-first-autocad-plugin/m-p/8963800#M21732</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;thanks Ed&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It'd be great you could explain the meaning of the following lines:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&amp;lt;ProjectItem ReplaceParameters="true"&lt;BR /&gt;TargetFileName="ThisProject.cs"&amp;gt;ThisProject.cs&amp;lt;/ProjectItem&amp;gt;.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;They typical acad plugin is divided into two logical blocks, an area for Project specific code and and area for acad commands. ThisProject.cs is a file that adds methods for your project. It has an Initialize method and a Terminate method. This is where you can add code that applies to the project level. e.g. reading a registry value upon initialization or setting a reg var upon termination. You may not need it for every project, but the template should add it. You can also use it to store other methods and functions. Some create another "toolbox" class for this type of code.&lt;/P&gt;</description>
    <pubDate>Tue, 13 Aug 2019 16:50:05 GMT</pubDate>
    <dc:creator>Ed__Jobe</dc:creator>
    <dc:date>2019-08-13T16:50:05Z</dc:date>
    <item>
      <title>my first autocad plugin</title>
      <link>https://forums.autodesk.com/t5/net-forum/my-first-autocad-plugin/m-p/8934191#M21716</link>
      <description>&lt;P&gt;Dear everybody,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I told myself to not ask for help here and figure it out myself but it's been three days now and i still can't figure out whats going wrong.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to follow the steps from your tutorial&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://knowledge.autodesk.com/support/autocad/learn-explore/caas/simplecontent/content/my-first-autocad-plug-overview.html" target="_blank"&gt;https://knowledge.autodesk.com/support/autocad/learn-explore/caas/simplecontent/content/my-first-autocad-plug-overview.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I installed the four needed softwares, knowing:&amp;nbsp;&lt;/P&gt;&lt;P&gt;- autocad 2018&lt;/P&gt;&lt;P&gt;- visual studio community 2015 (and 2017 and 2019 but 2015 was needed for the wizard)&lt;/P&gt;&lt;P&gt;- the objectarx sdk (2018)&lt;/P&gt;&lt;P&gt;- the autocad.net 2018 wizard&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;however, when I'm at step two from lesson 1 (&lt;A href="https://knowledge.autodesk.com/support/autocad/learn-explore/caas/simplecontent/content/lesson-1-the-basic-autocad-plug.html" target="_blank"&gt;https://knowledge.autodesk.com/support/autocad/learn-explore/caas/simplecontent/content/lesson-1-the-basic-autocad-plug.html&lt;/A&gt;) I can't find the 'autodesk' under 'visual basic'.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;strange enough I do see it under "visual c++', there are 2 templates there, but with different names (and i can only start one of them without getting some strange error).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;anybody know whats wrong? the lesson tells me to get the visual-basic autocad2018 vb plug-in, why don't i see this one appear?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jul 2019 14:55:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/my-first-autocad-plugin/m-p/8934191#M21716</guid>
      <dc:creator>stefanveurink68AXD</dc:creator>
      <dc:date>2019-07-27T14:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: my first autocad plugin</title>
      <link>https://forums.autodesk.com/t5/net-forum/my-first-autocad-plugin/m-p/8934255#M21717</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class="" title=""&gt;Assuming you start with AutoCAD .NET, I'll give you a few recommendations&lt;/SPAN&gt;&lt;/SPAN&gt;:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Learn C# instead of VB, because you'll find more examples and help in C# than VB.&lt;/LI&gt;
&lt;LI&gt;Learn &lt;A href="https://help.autodesk.com/view/OARX/2019/ENU/?guid=GUID-BA686431-C8BF-49F2-946E-9CEB2F7AE4FA" target="_blank" rel="noopener"&gt;how to build a project from scratch&lt;/A&gt; and &lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class="" title=""&gt; how to &lt;A href="http://gilecad.azurewebsites.net/Resources/Template_Csharp_Ed_Jobe.pdf" target="_blank" rel="noopener"&gt;create your own templates&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; (thanks again to&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/14801"&gt;@Ed__Jobe&lt;/a&gt; for his translation) instead of using wizards &lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class="" title=""&gt;which imposes on you a version of Visual Studio.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class="" title=""&gt;Start with an AutoCAD .NET Training Lab from &lt;A href="https://www.autodesk.com/developer-network/platform-technologies/autocad" target="_blank" rel="noopener"&gt;this page&lt;/A&gt; instead of "My First AutoCAD Plug-in" because the first one starts with the basics while the second irelated to the Overrule which is an advanced API.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jul 2019 17:00:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/my-first-autocad-plugin/m-p/8934255#M21717</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2019-07-27T17:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: my first autocad plugin</title>
      <link>https://forums.autodesk.com/t5/net-forum/my-first-autocad-plugin/m-p/8934664#M21718</link>
      <description>&lt;P&gt;Thanks, I'll do this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By experiences with programming (outside Autocad) in the past I know getting started is the mostly the toughest part, so thanks for giving me some direction!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 28 Jul 2019 11:17:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/my-first-autocad-plugin/m-p/8934664#M21718</guid>
      <dc:creator>stefanveurink68AXD</dc:creator>
      <dc:date>2019-07-28T11:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: my first autocad plugin</title>
      <link>https://forums.autodesk.com/t5/net-forum/my-first-autocad-plugin/m-p/8934724#M21719</link>
      <description>&lt;P&gt;So, like you recommended I just started the dotnet training....&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lab 1 works great.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Lab 2 however I need to install the wizard, seems like the one I referred to in the first post.....&amp;nbsp;&lt;/P&gt;&lt;P&gt;By the way the download link in the word-document doesn't work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So still same problem. Don't see the template neither an 'Autodesk' category under the visual c# like the training says it would show.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas how to solve this problem?&lt;/P&gt;</description>
      <pubDate>Sun, 28 Jul 2019 13:12:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/my-first-autocad-plugin/m-p/8934724#M21719</guid>
      <dc:creator>stefanveurink68AXD</dc:creator>
      <dc:date>2019-07-28T13:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: my first autocad plugin</title>
      <link>https://forums.autodesk.com/t5/net-forum/my-first-autocad-plugin/m-p/8934781#M21720</link>
      <description>&lt;P&gt;The Wizard is just a way to start a new AutoCAD project from a template, i.e. a class library project with AutoCAD API references as you build from scratch in Lab 1.&lt;/P&gt;
&lt;P&gt;So, instead of using the Wizard to create a new project, you can simply redo the same thing you did with Lab1 or, better, &lt;A href="http://gilecad.azurewebsites.net/Resources/Template_Csharp_Ed_Jobe.pdf" target="_blank" rel="noopener"&gt;learn how to to create your own project template for AutoCAD&lt;/A&gt; which is not so difficult and let you improve your knowledge about what is a Visual Sutdio project.&lt;/P&gt;
&lt;P&gt;When you'll have created some new project with some Commands.cs class, you should be able to go on the Lab 2 from, just after the Wizard installation part.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Most of us who started with AutoCAD .NET before AutoCAD 2016 have never use a Wizard to start a new project.&lt;/P&gt;</description>
      <pubDate>Sun, 28 Jul 2019 14:42:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/my-first-autocad-plugin/m-p/8934781#M21720</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2019-07-28T14:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: my first autocad plugin</title>
      <link>https://forums.autodesk.com/t5/net-forum/my-first-autocad-plugin/m-p/8941230#M21721</link>
      <description>&lt;P&gt;In some way I agree with you. It's good to be able to set up stuff yourself.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Only thing I'm affraid about is that there's settings in the template that I haven't setup myself in lesson 1. To be sure the setup of the project is right I would prefer to work with the template since that is what the lesson is based on.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Next to that I don't expect myself to setup the whole environment correctly (what the template should do) as long as i'm not even able to get the template work properly... it's kind of the same problem.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So if there's no other options to get the template working there's no choice left then just try to figure out stuff myself but if anyone got any idea about why the installed template doesn't show up it would probably save me a lot of (unneccessary) troubles and headaches :-).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks anyways!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2019 16:12:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/my-first-autocad-plugin/m-p/8941230#M21721</guid>
      <dc:creator>stefanveurink68AXD</dc:creator>
      <dc:date>2019-07-31T16:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: my first autocad plugin</title>
      <link>https://forums.autodesk.com/t5/net-forum/my-first-autocad-plugin/m-p/8941418#M21722</link>
      <description>&lt;P&gt;You can also find some 'out of the box' templates from my own &lt;A href="http://gilecad.azurewebsites.net/ProjectTemplatesEN.aspx" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;here&lt;/STRONG&gt;&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;You can use them whatever the Visual Studio version (tested with VS2012, VS2013, VS2015, VS2017).&lt;/P&gt;
&lt;P&gt;Do not forget to 'unblock' the downloded ZIP files.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2019 17:40:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/my-first-autocad-plugin/m-p/8941418#M21722</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2019-07-31T17:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: my first autocad plugin</title>
      <link>https://forums.autodesk.com/t5/net-forum/my-first-autocad-plugin/m-p/8941530#M21723</link>
      <description>&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nice website btw! Pitty enough I don't speak french very well but I'll sure check it out very soon!&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2019 18:38:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/my-first-autocad-plugin/m-p/8941530#M21723</guid>
      <dc:creator>stefanveurink68AXD</dc:creator>
      <dc:date>2019-07-31T18:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: my first autocad plugin</title>
      <link>https://forums.autodesk.com/t5/net-forum/my-first-autocad-plugin/m-p/8961470#M21724</link>
      <description>&lt;P&gt;On my yearly (and till now always failing) attempt to switch from VBA to NET I came across this very useful post which eventually led me to the goal of a running plugin template.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I also found out that the file "Template_Csharp_Ed_Jobe.pdf" linked to &lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class=""&gt;&lt;A href="http://gilecad.azurewebsites.net/Resources/Template_Csharp_Ed_Jobe.pdf" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;create your own templates&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; shows some little discrepancies:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1)&amp;nbsp; mainly, at page 9, when its says (red text to be substituted):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;Open the My Template.vstemplate file in a text editor (it is an XML file) and replace:&lt;BR /&gt;&amp;lt;ProjectItem ReplaceParameters="false" TargetFileName="&lt;FONT color="#FF0000"&gt;Commands.cs&lt;/FONT&gt;"&amp;gt;&lt;FONT color="#FF0000"&gt;Commands.cs&lt;/FONT&gt;&lt;BR /&gt;&amp;lt;/ProjectItem&amp;gt;&lt;BR /&gt;With:&lt;BR /&gt;&amp;lt;ProjectItem ReplaceParameters="true" TargetFileName="&lt;FONT color="#FF0000"&gt;Commands.cs&lt;/FONT&gt;"&amp;gt;&lt;FONT color="#FF0000"&gt;Commands.cs&lt;/FONT&gt;&lt;BR /&gt;&amp;lt;/ProjectItem&amp;gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;it should be read (green text to be adopted):&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class=""&gt;Open the My Template.vstemplate file in a text editor (it is an XML file) and replace:&lt;BR /&gt;&amp;lt;ProjectItem ReplaceParameters="false" TargetFileName="&lt;FONT color="#00FF00"&gt;start.scr&lt;/FONT&gt;"&amp;gt;&lt;FONT color="#00FF00"&gt;start.scr&lt;/FONT&gt;&lt;BR /&gt;&amp;lt;/ProjectItem&amp;gt;&lt;BR /&gt;With:&lt;BR /&gt;&amp;lt;ProjectItem ReplaceParameters="false" TargetFileName="&lt;FONT color="#00FF00"&gt;start.scr&lt;/FONT&gt;"&amp;gt;&lt;FONT color="#00FF00"&gt;start.scr&lt;/FONT&gt;&lt;BR /&gt;&amp;lt;/ProjectItem&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;2) moreover it also shows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;TargetFileName="ThisProject.cs"&amp;gt;ThisProject.cs&amp;lt;/ProjectItem&amp;gt;&lt;BR /&gt;&amp;lt;/Project&amp;gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; of which it'd be fine to know the use of&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2019 16:38:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/my-first-autocad-plugin/m-p/8961470#M21724</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-12T16:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: my first autocad plugin</title>
      <link>https://forums.autodesk.com/t5/net-forum/my-first-autocad-plugin/m-p/8962145#M21725</link>
      <description>&lt;P&gt;Here's &lt;A href="http://gilecad.azurewebsites.net/Resources/Template_Csharp_EN.pdf" target="_blank" rel="noopener"&gt;my translation&lt;/A&gt; of &lt;A href="http://gilecad.azurewebsites.net/Resources/Template_Csharp.pdf" target="_blank" rel="noopener"&gt;the original French version&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2019 22:32:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/my-first-autocad-plugin/m-p/8962145#M21725</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2019-08-12T22:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: my first autocad plugin</title>
      <link>https://forums.autodesk.com/t5/net-forum/my-first-autocad-plugin/m-p/8963213#M21726</link>
      <description>&lt;P&gt;Which confirms the revisions needed to Ed Jobe’s pdf of which you attacched a link in a post of yours&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 12:46:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/my-first-autocad-plugin/m-p/8963213#M21726</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-13T12:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: my first autocad plugin</title>
      <link>https://forums.autodesk.com/t5/net-forum/my-first-autocad-plugin/m-p/8963238#M21727</link>
      <description>&lt;P&gt;Anyway, all that back and forth from VS to Autocad is really nerves consuming...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I’d be happy to know if there is any way to avoid:&lt;/P&gt;&lt;P&gt;- manual calling of the “command” you’re debugging&lt;/P&gt;&lt;P&gt;- exiting Autocad and stopping programm ececution in order to make any code fixing&lt;/P&gt;&lt;P&gt;- launching Autocad everytime (wouldn’t it be possibile to use a running instance of Autocad?)&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 12:55:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/my-first-autocad-plugin/m-p/8963238#M21727</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-13T12:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: my first autocad plugin</title>
      <link>https://forums.autodesk.com/t5/net-forum/my-first-autocad-plugin/m-p/8963481#M21728</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Which confirms the revisions needed to Ed Jobe’s pdf of which you attacched a link in a post of yours&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Thanks for catching that mistake. Attached is a revised version.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 14:21:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/my-first-autocad-plugin/m-p/8963481#M21728</guid>
      <dc:creator>Ed__Jobe</dc:creator>
      <dc:date>2019-08-13T14:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: my first autocad plugin</title>
      <link>https://forums.autodesk.com/t5/net-forum/my-first-autocad-plugin/m-p/8963575#M21729</link>
      <description>&lt;P&gt;@Anonymous&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First, you have to keep in mind C# is a compiled language, not an interpreted language as AutoLISP or VBA.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I’d be happy to know if there is any way to avoid:&lt;/P&gt;
&lt;P&gt;- manual calling of the “command” you’re debugging&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Simply add a call to the concerned command at the end of the start.scr file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I’d be happy to know if there is any way to avoid:&lt;/P&gt;
&lt;P&gt;- exiting Autocad and stopping programm ececution in order to make any code fixing&lt;/P&gt;
&lt;P&gt;- launching Autocad everytime (wouldn’t it be possibile to use a running instance of Autocad?)&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You could use &lt;A href="https://docs.microsoft.com/en-us/visualstudio/debugger/edit-and-continue?view=vs-2019" target="_blank" rel="noopener"&gt;Edit &amp;amp; Continue&lt;/A&gt; feature, but some issues with Mtexts maight occur (see &lt;A href="https://www.keanw.com/2013/11/debugging-autocad-using-visual-studio-2013.html" target="_blank" rel="noopener"&gt;here&lt;/A&gt;). By my side I never used Edit &amp;amp; Continue this is why I use this kind of template.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 15:22:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/my-first-autocad-plugin/m-p/8963575#M21729</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2019-08-13T15:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: my first autocad plugin</title>
      <link>https://forums.autodesk.com/t5/net-forum/my-first-autocad-plugin/m-p/8963750#M21730</link>
      <description>&lt;P&gt;thanks Ed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It'd be great you could explain the meaning of the following lines:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&amp;lt;ProjectItem ReplaceParameters="true"&lt;BR /&gt;TargetFileName="ThisProject.cs"&amp;gt;ThisProject.cs&amp;lt;/ProjectItem&amp;gt;.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;BR /&gt;which doesn't show in my "My Template.vstemplate" file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BTW, should you be interested in further "polishing" your pdf, you could also:&lt;/P&gt;&lt;P&gt;- check all AutoCAD 2017-&amp;gt; 2018 references&amp;nbsp;&lt;/P&gt;&lt;P&gt;- check "AutoCAD2018Plugin" -&amp;gt; "Acad2018Plugin"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 16:23:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/my-first-autocad-plugin/m-p/8963750#M21730</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-13T16:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: my first autocad plugin</title>
      <link>https://forums.autodesk.com/t5/net-forum/my-first-autocad-plugin/m-p/8963777#M21731</link>
      <description>&lt;P&gt;Thanks Gile for your answers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;1) "Simply add a call to the concerned command at the end of the start.scr file."&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I "suspected" that, but neither you nor Ed mentioned it: is it because of some annoying side effect?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) "&lt;EM&gt;By my side I never used Edit &amp;amp; Continue this is why I use this kind of template.&lt;/EM&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so, to code for AutoCAD in NET you must suffer from all that "to and through" AutoCAD&lt;/P&gt;&lt;P&gt;this is the very reason of my yearly failures till now&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 16:35:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/my-first-autocad-plugin/m-p/8963777#M21731</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-13T16:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: my first autocad plugin</title>
      <link>https://forums.autodesk.com/t5/net-forum/my-first-autocad-plugin/m-p/8963800#M21732</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;thanks Ed&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It'd be great you could explain the meaning of the following lines:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&amp;lt;ProjectItem ReplaceParameters="true"&lt;BR /&gt;TargetFileName="ThisProject.cs"&amp;gt;ThisProject.cs&amp;lt;/ProjectItem&amp;gt;.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;They typical acad plugin is divided into two logical blocks, an area for Project specific code and and area for acad commands. ThisProject.cs is a file that adds methods for your project. It has an Initialize method and a Terminate method. This is where you can add code that applies to the project level. e.g. reading a registry value upon initialization or setting a reg var upon termination. You may not need it for every project, but the template should add it. You can also use it to store other methods and functions. Some create another "toolbox" class for this type of code.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 16:50:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/my-first-autocad-plugin/m-p/8963800#M21732</guid>
      <dc:creator>Ed__Jobe</dc:creator>
      <dc:date>2019-08-13T16:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: my first autocad plugin</title>
      <link>https://forums.autodesk.com/t5/net-forum/my-first-autocad-plugin/m-p/8963878#M21733</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Thanks Gile for your answers&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;1) "Simply add a call to the concerned command at the end of the start.scr file."&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I "suspected" that, but neither you nor Ed mentioned it: is it because of some annoying side effect?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I didn't mention that because I supposed someone starting with .NET already knows how works an AutoCAD script.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 17:33:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/my-first-autocad-plugin/m-p/8963878#M21733</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2019-08-13T17:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: my first autocad plugin</title>
      <link>https://forums.autodesk.com/t5/net-forum/my-first-autocad-plugin/m-p/8963978#M21734</link>
      <description>&lt;P&gt;I should have mentioned that the template that Gilles created doesn't include project.cs. The screenshot shows my project file. I need to update the pdf so it is consistent. I included it in my project as a carryover from the original ones supplied by the Autodesk installer. For now, I'll attach the file so you can include it in your project. Attached is my template, you can extract it from there.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 18:25:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/my-first-autocad-plugin/m-p/8963978#M21734</guid>
      <dc:creator>Ed__Jobe</dc:creator>
      <dc:date>2019-08-13T18:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: my first autocad plugin</title>
      <link>https://forums.autodesk.com/t5/net-forum/my-first-autocad-plugin/m-p/8965778#M21735</link>
      <description>&lt;P&gt;I didn’t know autocad scripts are necessary for NET coding&lt;/P&gt;&lt;P&gt;In this case, I’m out of the game since I know nothing about autocad scripts (except “test.scr”...)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for clearing that out&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2019 13:41:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/my-first-autocad-plugin/m-p/8965778#M21735</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-14T13:41:28Z</dc:date>
    </item>
  </channel>
</rss>

