<?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: Executing ACAD commands from VB .NET in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/executing-acad-commands-from-vb-net/m-p/2474054#M70877</link>
    <description>That code that U provided works AOK for me.  As a matter of interest for future pusual do you know if that 'RunCommand' is still in the Object 2010 SDK?  As mentioned in my initial query I could find no mention of it in the SDK's reference.&lt;BR /&gt;
&lt;BR /&gt;
Once again thanks for the help.</description>
    <pubDate>Mon, 27 Apr 2009 08:13:05 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-04-27T08:13:05Z</dc:date>
    <item>
      <title>Executing ACAD commands from VB .NET</title>
      <link>https://forums.autodesk.com/t5/net-forum/executing-acad-commands-from-vb-net/m-p/2474050#M70873</link>
      <description>Not to be too long winded, but the following preamble may help anyone able to assisit:&lt;BR /&gt;
&lt;BR /&gt;
What I know (on a scale of 1 = inexperienced to 5 = very experienced):&lt;BR /&gt;
&lt;BR /&gt;
VB .NET - 4 - I've successfully converted a number VB6 projects to VB .NET (non-ACAD)&lt;BR /&gt;
LISP - 5 - 'Been using it for  15+ years&lt;BR /&gt;
ObjectARX - 3 - Had no probelm with small modules used in conjunction with my LISP apps.&lt;BR /&gt;
&lt;BR /&gt;
What I need:&lt;BR /&gt;
&lt;BR /&gt;
I am busy converting a mid sized LISP app to ObjectARX 2009 in the  .NET managed environment.  Much has progressed well and the program is a lot more elegant and refined than before.  I am, however, and largely as a result of inexperience, having a oproblem with executing commands in the .NET managed classes.  I am familiar with acedCommand &amp;amp; acedCmd in the pure Object ARX environment but after much trolling of discussion groups &amp;amp; the Internet I have been unable to find much help on how to achieve the same in VB .NET.  In one thread Tony Tanzillo mentioned that there was a 'RunCommand' method in the editor class, but other than one mention of this (as a new method), I find no info regarding its use.  I must also add that I have little experience using Reflection which I believe is the only way to use the RunCommand.  BTW, the ObjectARX 2010 documentation does not menttion RunCommand at all.&lt;BR /&gt;
&lt;BR /&gt;
The commands that I need to excecute are to insert a small drawing  (WBLOCK), to draw PLINES and to insert small single lines of TEXT into a drawing.&lt;BR /&gt;
&lt;BR /&gt;
Has anyone any suggestions or sample code that would help me?&lt;BR /&gt;
&lt;BR /&gt;
Pse excuse any typos &lt;GRIN&gt;.&lt;/GRIN&gt;</description>
      <pubDate>Thu, 23 Apr 2009 10:17:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/executing-acad-commands-from-vb-net/m-p/2474050#M70873</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-04-23T10:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: Executing ACAD commands from VB .NET</title>
      <link>https://forums.autodesk.com/t5/net-forum/executing-acad-commands-from-vb-net/m-p/2474051#M70874</link>
      <description>http://www.caddzone.com/CommandLine.cs&lt;BR /&gt;
&lt;BR /&gt;
http://www.caddzone.com/CommandLine.vb&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD 2009&lt;BR /&gt;
Supporting AutoCAD 2000 through 2009&lt;BR /&gt;
&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
Introducing AcadXTabs 2010:&lt;BR /&gt;
http://www.caddzone.com/acadxtabs/AcadXTabs2010.htm&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;CHAZEGG&gt; wrote in message news:6168500@discussion.autodesk.com...&lt;BR /&gt;
Not to be too long winded, but the following preamble may help anyone able &lt;BR /&gt;
to assisit: What I know (on a scale of 1 = inexperienced to 5 = very &lt;BR /&gt;
experienced): VB .NET - 4 - I've successfully converted a number VB6 &lt;BR /&gt;
projects to VB .NET (non-ACAD) LISP - 5 - 'Been using it for 15+ years &lt;BR /&gt;
ObjectARX - 3 - Had no probelm with small modules used in conjunction with &lt;BR /&gt;
my LISP apps. What I need: I am busy converting a mid sized LISP app to &lt;BR /&gt;
ObjectARX 2009 in the .NET managed environment. Much has progressed well and &lt;BR /&gt;
the program is a lot more elegant and refined than before. I am, however, &lt;BR /&gt;
and largely as a result of inexperience, having a oproblem with executing &lt;BR /&gt;
commands in the .NET managed classes. I am familiar with acedCommand &amp;amp; &lt;BR /&gt;
acedCmd in the pure Object ARX environment but after much trolling of &lt;BR /&gt;
discussion groups &amp;amp; the Internet I have been unable to find much help on how &lt;BR /&gt;
to achieve the same in VB .NET. In one thread Tony Tanzillo mentioned that &lt;BR /&gt;
there was a 'RunCommand' method in the editor class, but other than one &lt;BR /&gt;
mention of this (as a new method), I find no info regarding its use. I must &lt;BR /&gt;
also add that I have little experience using Reflection which I believe is &lt;BR /&gt;
the only way to use the RunCommand. BTW, the ObjectARX 2010 documentation &lt;BR /&gt;
does not menttion RunCommand at all. The commands that I need to excecute &lt;BR /&gt;
are to insert a small drawing (WBLOCK), to draw PLINES and to insert small &lt;BR /&gt;
single lines of TEXT into a drawing. Has anyone any suggestions or sample &lt;BR /&gt;
code that would help me? Pse excuse any typos .&lt;/CHAZEGG&gt;</description>
      <pubDate>Thu, 23 Apr 2009 19:21:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/executing-acad-commands-from-vb-net/m-p/2474051#M70874</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-04-23T19:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: Executing ACAD commands from VB .NET</title>
      <link>https://forums.autodesk.com/t5/net-forum/executing-acad-commands-from-vb-net/m-p/2474052#M70875</link>
      <description>Thanks Tony&lt;BR /&gt;
&lt;BR /&gt;
Any info on that RunCommand, or is it something in the UAO zone &lt;GRIN&gt;&lt;/GRIN&gt;</description>
      <pubDate>Fri, 24 Apr 2009 09:01:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/executing-acad-commands-from-vb-net/m-p/2474052#M70875</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-04-24T09:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: Executing ACAD commands from VB .NET</title>
      <link>https://forums.autodesk.com/t5/net-forum/executing-acad-commands-from-vb-net/m-p/2474053#M70876</link>
      <description>The code I referred you to is essentially the same as RunCommand.&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD 2009&lt;BR /&gt;
Supporting AutoCAD 2000 through 2009&lt;BR /&gt;
&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
Introducing AcadXTabs 2010:&lt;BR /&gt;
http://www.caddzone.com/acadxtabs/AcadXTabs2010.htm&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;CHAZEGG&gt; wrote in message news:6169570@discussion.autodesk.com...&lt;BR /&gt;
Thanks Tony Any info on that RunCommand, or is it something in the UAO zone&lt;/CHAZEGG&gt;</description>
      <pubDate>Fri, 24 Apr 2009 15:51:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/executing-acad-commands-from-vb-net/m-p/2474053#M70876</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-04-24T15:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: Executing ACAD commands from VB .NET</title>
      <link>https://forums.autodesk.com/t5/net-forum/executing-acad-commands-from-vb-net/m-p/2474054#M70877</link>
      <description>That code that U provided works AOK for me.  As a matter of interest for future pusual do you know if that 'RunCommand' is still in the Object 2010 SDK?  As mentioned in my initial query I could find no mention of it in the SDK's reference.&lt;BR /&gt;
&lt;BR /&gt;
Once again thanks for the help.</description>
      <pubDate>Mon, 27 Apr 2009 08:13:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/executing-acad-commands-from-vb-net/m-p/2474054#M70877</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-04-27T08:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: Executing ACAD commands from VB .NET</title>
      <link>https://forums.autodesk.com/t5/net-forum/executing-acad-commands-from-vb-net/m-p/2474055#M70878</link>
      <description>Sorry, haven't I checked that so I can't tell you.&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD 2009&lt;BR /&gt;
Supporting AutoCAD 2000 through 2009&lt;BR /&gt;
&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
Introducing AcadXTabs 2010:&lt;BR /&gt;
http://www.caddzone.com/acadxtabs/AcadXTabs2010.htm&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;CHAZEGG&gt; wrote in message news:6170683@discussion.autodesk.com...&lt;BR /&gt;
That code that U provided works AOK for me. As a matter of interest for &lt;BR /&gt;
future pusual do you know if that 'RunCommand' is still in the Object 2010 &lt;BR /&gt;
SDK? As mentioned in my initial query I could find no mention of it in the &lt;BR /&gt;
SDK's reference. Once again thanks for the help.&lt;/CHAZEGG&gt;</description>
      <pubDate>Mon, 27 Apr 2009 15:28:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/executing-acad-commands-from-vb-net/m-p/2474055#M70878</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-04-27T15:28:11Z</dc:date>
    </item>
  </channel>
</rss>

