<?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 Overkill on Selection Set (Polyline) - 2012 in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/overkill-on-selection-set-polyline-2012/m-p/8765427#M22551</link>
    <description>&lt;P&gt;Afternoon,&lt;/P&gt;
&lt;P&gt;I have some code for removing the (0) length sections from a selected polyline and it works on 2013 autocad forward.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;        ' Remove 0 Length lines in Polyline
        Dim myPSR As PromptSelectionResult = myEd.SelectAll
        If myPSR.Status = PromptStatus.OK Then myEd.Command("_-overkill", myPSR.Value, "", "")&lt;/PRE&gt;
&lt;P&gt;myEd is my&amp;nbsp;EditorInput.Editor.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, I have (1) guy still using 2012.&amp;nbsp; The .Command is not a member of Document in the 2012 build.&amp;nbsp; So I have been trying to write an equivalent just for 2012 without success.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does anyone have any thoughts?&amp;nbsp; The suggestions from Visual Studio did not work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 01 May 2019 19:54:14 GMT</pubDate>
    <dc:creator>conveyor1</dc:creator>
    <dc:date>2019-05-01T19:54:14Z</dc:date>
    <item>
      <title>Overkill on Selection Set (Polyline) - 2012</title>
      <link>https://forums.autodesk.com/t5/net-forum/overkill-on-selection-set-polyline-2012/m-p/8765427#M22551</link>
      <description>&lt;P&gt;Afternoon,&lt;/P&gt;
&lt;P&gt;I have some code for removing the (0) length sections from a selected polyline and it works on 2013 autocad forward.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;        ' Remove 0 Length lines in Polyline
        Dim myPSR As PromptSelectionResult = myEd.SelectAll
        If myPSR.Status = PromptStatus.OK Then myEd.Command("_-overkill", myPSR.Value, "", "")&lt;/PRE&gt;
&lt;P&gt;myEd is my&amp;nbsp;EditorInput.Editor.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, I have (1) guy still using 2012.&amp;nbsp; The .Command is not a member of Document in the 2012 build.&amp;nbsp; So I have been trying to write an equivalent just for 2012 without success.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does anyone have any thoughts?&amp;nbsp; The suggestions from Visual Studio did not work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2019 19:54:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/overkill-on-selection-set-polyline-2012/m-p/8765427#M22551</guid>
      <dc:creator>conveyor1</dc:creator>
      <dc:date>2019-05-01T19:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: Overkill on Selection Set (Polyline) - 2012</title>
      <link>https://forums.autodesk.com/t5/net-forum/overkill-on-selection-set-polyline-2012/m-p/8766084#M22552</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See &lt;A href="https://forums.autodesk.com/t5/net/problem-calling-acedcmd/m-p/4752787?advanced=false&amp;amp;collapse_discussion=true&amp;amp;filter=location&amp;amp;location=forum-board:152&amp;amp;q=RunCommand&amp;amp;search_type=thread" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;this topic&lt;/STRONG&gt;&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2019 06:58:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/overkill-on-selection-set-polyline-2012/m-p/8766084#M22552</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2019-05-02T06:58:06Z</dc:date>
    </item>
  </channel>
</rss>

