<?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: ed.Command in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/ed-command/m-p/7279550#M30301</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You'll have to build, at least, two different projects:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;one project targeting AutoCAD 2013 and 2014 which uses the wrapper for RunCommand()&lt;/LI&gt;
&lt;LI&gt;one project targeting AutoCAD 2015 and later which uses the new Editor.Command() method (because the wrapper wont work with these versions)&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 06 Aug 2017 11:00:19 GMT</pubDate>
    <dc:creator>_gile</dc:creator>
    <dc:date>2017-08-06T11:00:19Z</dc:date>
    <item>
      <title>ed.Command</title>
      <link>https://forums.autodesk.com/t5/net-forum/ed-command/m-p/7278177#M30291</link>
      <description>&lt;P&gt;Can I ask how the ed.Command works?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I&amp;nbsp;really need to create a cloud from a polyline &amp;nbsp;object and the simplest way I can find &amp;nbsp;is this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ed.Command("_revcloud", "_arc", 2.0 / scale, 6.0 / scale, "_object", polyId, "_no")&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Obviously sends a commands to the command line to convert it but&amp;nbsp;I get an eInValidInput error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2017 22:19:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/ed-command/m-p/7278177#M30291</guid>
      <dc:creator>SRSDS</dc:creator>
      <dc:date>2017-08-04T22:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: ed.Command</title>
      <link>https://forums.autodesk.com/t5/net-forum/ed-command/m-p/7278196#M30292</link>
      <description>&lt;P&gt;1. AutoCAD version?&lt;/P&gt;
&lt;P&gt;2. ed.Command started in context of document or in context of application?&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2017 22:31:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/ed-command/m-p/7278196#M30292</guid>
      <dc:creator>Alexander.Rivilis</dc:creator>
      <dc:date>2017-08-04T22:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: ed.Command</title>
      <link>https://forums.autodesk.com/t5/net-forum/ed-command/m-p/7278580#M30293</link>
      <description>&lt;P&gt;2018&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe in context of application? Not entirely sure what that means&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;  Public Sub RevCloud(polyId As ObjectId, scale As Double)
        Dim doc = Application.DocumentManager.MdiActiveDocument
        Dim db = doc.Database
        Dim ed = doc.Editor
        ed.Command("_revcloud", "_arc", 2.0 / scale, 6.0 / scale, "_object", polyId, "_no")
    End Sub&lt;/PRE&gt;</description>
      <pubDate>Sat, 05 Aug 2017 08:40:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/ed-command/m-p/7278580#M30293</guid>
      <dc:creator>SRSDS</dc:creator>
      <dc:date>2017-08-05T08:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: ed.Command</title>
      <link>https://forums.autodesk.com/t5/net-forum/ed-command/m-p/7278581#M30294</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/786488"&gt;@SRSDS&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Editor.Command can not be used in application context. E.g. this method can be used in document context - only within command without SESSION flag.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Aug 2017 08:51:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/ed-command/m-p/7278581#M30294</guid>
      <dc:creator>Alexander.Rivilis</dc:creator>
      <dc:date>2017-08-05T08:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: ed.Command</title>
      <link>https://forums.autodesk.com/t5/net-forum/ed-command/m-p/7279228#M30295</link>
      <description>&lt;P&gt;I'm still unclear on this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I converted the code from this link to VB and inserted it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.tek1.com.au/turning-autocad-curves-revision-clouds-autocad-net-api/" target="_blank"&gt;http://www.tek1.com.au/turning-autocad-curves-revision-clouds-autocad-net-api/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On the line:&lt;/P&gt;
&lt;P&gt;ed.Command("_.REVCLOUD", "", "O", "", ss, "")&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I get an error saying 'Command' is not a member of 'Editor'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Aug 2017 21:50:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/ed-command/m-p/7279228#M30295</guid>
      <dc:creator>SRSDS</dc:creator>
      <dc:date>2017-08-05T21:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: ed.Command</title>
      <link>https://forums.autodesk.com/t5/net-forum/ed-command/m-p/7279269#M30296</link>
      <description>&lt;P&gt;Then you're using an older product release.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Search this discussion group for "&lt;A href="https://forums.autodesk.com/t5/forums/searchpage/tab/message?filter=location&amp;amp;q=GenerateRunCommand&amp;amp;location=forum-board%3A152&amp;amp;collapse_discussion=true" target="_blank"&gt;GenerateRunCommand&lt;/A&gt;", and you'll find an implementation for older releases that do not expose Command().&lt;/P&gt;</description>
      <pubDate>Sat, 05 Aug 2017 22:52:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/ed-command/m-p/7279269#M30296</guid>
      <dc:creator>ActivistInvestor</dc:creator>
      <dc:date>2017-08-05T22:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: ed.Command</title>
      <link>https://forums.autodesk.com/t5/net-forum/ed-command/m-p/7279432#M30297</link>
      <description>&lt;P&gt;That was it!&lt;/P&gt;
&lt;P&gt;I had ACAD 2013 references.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Aug 2017 07:07:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/ed-command/m-p/7279432#M30297</guid>
      <dc:creator>SRSDS</dc:creator>
      <dc:date>2017-08-06T07:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: ed.Command</title>
      <link>https://forums.autodesk.com/t5/net-forum/ed-command/m-p/7279479#M30298</link>
      <description>&lt;P&gt;You was talking about AutoCAD 2018 before.&lt;/P&gt;</description>
      <pubDate>Sun, 06 Aug 2017 08:34:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/ed-command/m-p/7279479#M30298</guid>
      <dc:creator>Alexander.Rivilis</dc:creator>
      <dc:date>2017-08-06T08:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: ed.Command</title>
      <link>https://forums.autodesk.com/t5/net-forum/ed-command/m-p/7279482#M30299</link>
      <description>&lt;P&gt;I wasn't thinking in the right terms. Sorry.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am running AutoCAD 2018 but my project uses the&amp;nbsp;reference .dll files from 2013&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Aug 2017 08:38:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/ed-command/m-p/7279482#M30299</guid>
      <dc:creator>SRSDS</dc:creator>
      <dc:date>2017-08-06T08:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: ed.Command</title>
      <link>https://forums.autodesk.com/t5/net-forum/ed-command/m-p/7279484#M30300</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/786488"&gt;@SRSDS&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;I wasn't thinking in the right terms. Sorry.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am running AutoCAD 2018 but my project uses the&amp;nbsp;reference .dll files from 2013&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;It is wrong practice because some classes/methods changed, some methods removed, some methods added.&lt;/P&gt;</description>
      <pubDate>Sun, 06 Aug 2017 08:42:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/ed-command/m-p/7279484#M30300</guid>
      <dc:creator>Alexander.Rivilis</dc:creator>
      <dc:date>2017-08-06T08:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: ed.Command</title>
      <link>https://forums.autodesk.com/t5/net-forum/ed-command/m-p/7279550#M30301</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You'll have to build, at least, two different projects:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;one project targeting AutoCAD 2013 and 2014 which uses the wrapper for RunCommand()&lt;/LI&gt;
&lt;LI&gt;one project targeting AutoCAD 2015 and later which uses the new Editor.Command() method (because the wrapper wont work with these versions)&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Aug 2017 11:00:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/ed-command/m-p/7279550#M30301</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2017-08-06T11:00:19Z</dc:date>
    </item>
  </channel>
</rss>

