<?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>tema Re: Get Stretched Entity in an active document of AutoCAD c# en AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/get-stretched-entity-in-an-active-document-of-autocad-c/m-p/8709578#M974993</link>
    <description>&lt;P&gt;Hi Alfred,&lt;/P&gt;
&lt;P&gt;I tried the below approach, However I unable to Catch the STRETCH event whenever User is Triggering. As explained before I wanted to Collect Stretched objects.&lt;/P&gt;
&lt;P&gt;@&lt;STRONG&gt;Gilles Chanteau&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Do you have any idea on this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Alex Andrews.&lt;/P&gt;</description>
    <pubDate>Fri, 05 Apr 2019 06:19:18 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-04-05T06:19:18Z</dc:date>
    <item>
      <title>Get Stretched Entity in an active document of AutoCAD c#</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/get-stretched-entity-in-an-active-document-of-autocad-c/m-p/8706754#M974757</link>
      <description>&lt;P&gt;Dear Folks,&lt;/P&gt;
&lt;P&gt;Could you Please help me any one on the subjected need.&lt;/P&gt;
&lt;P&gt;In a Opened active DWG file, I want to find the Stretched Entities and those to be added to a Collection using c#.Net.&lt;/P&gt;
&lt;P&gt;Please note that, the Stretch will be done by User.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alex Andrews.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2019 09:15:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/get-stretched-entity-in-an-active-document-of-autocad-c/m-p/8706754#M974757</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-04T09:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: Get Stretched Entity in an active document of AutoCAD c#</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/get-stretched-entity-in-an-active-document-of-autocad-c/m-p/8706808#M974763</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT color="#333399"&gt;&amp;gt;&amp;gt; I want to find the Stretched Entities&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT color="#333399"&gt;&amp;gt;&amp;gt; the Stretch will be done by User&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;What type of entities are your referring to?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Default AutoCAD geometry like line, polyline, arc, ... does not have a property called "stretched", so if you stretch a line from 100 length to 120 length this item does not know that you used "_STRETCH" to make it longer.&lt;/P&gt;
&lt;P&gt;If you are using other objects, then please let us know which ones.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just as idea: block-insertions have scale-factors, if you use these scale-factors instead of stretching you are able to later find all block-insertions with a scale-factor &amp;lt;&amp;gt; 1,1,1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- alfred -&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2019 09:35:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/get-stretched-entity-in-an-active-document-of-autocad-c/m-p/8706808#M974763</guid>
      <dc:creator>Alfred.NESWADBA</dc:creator>
      <dc:date>2019-04-04T09:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: Get Stretched Entity in an active document of AutoCAD c#</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/get-stretched-entity-in-an-active-document-of-autocad-c/m-p/8707004#M974780</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;
&lt;P&gt;Here User may Stretch any kind of Entities but not really Block Reference. Specifically we are going to find DIMENSION Entities only. So I want to Collect all the Stretched DIMENSION Entities done by the User.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Alex Andrews.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2019 10:49:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/get-stretched-entity-in-an-active-document-of-autocad-c/m-p/8707004#M974780</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-04T10:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: Get Stretched Entity in an active document of AutoCAD c#</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/get-stretched-entity-in-an-active-document-of-autocad-c/m-p/8707045#M974781</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#333399"&gt;&lt;EM&gt;&amp;gt;&amp;gt; any kind of Entities&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;As I wrote, a line does not know if it was stretched or not.&lt;/P&gt;
&lt;P&gt;So from AutoCAD itself you never can do something like "select each line I had stretched".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In a complete application you might watch the creation process and watch stretch commands, then, when the command was started set an event-handler for modified objects, give these entities a flag, e.g. using XData or Dictionaries and write your own selectionset builder that searches for these flagged entities.&lt;/P&gt;
&lt;P&gt;But take care, when an entity was stretched while your app was not active, the flag will not be set for such items.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- alfred -&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2019 11:05:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/get-stretched-entity-in-an-active-document-of-autocad-c/m-p/8707045#M974781</guid>
      <dc:creator>Alfred.NESWADBA</dc:creator>
      <dc:date>2019-04-04T11:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: Get Stretched Entity in an active document of AutoCAD c#</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/get-stretched-entity-in-an-active-document-of-autocad-c/m-p/8709578#M974993</link>
      <description>&lt;P&gt;Hi Alfred,&lt;/P&gt;
&lt;P&gt;I tried the below approach, However I unable to Catch the STRETCH event whenever User is Triggering. As explained before I wanted to Collect Stretched objects.&lt;/P&gt;
&lt;P&gt;@&lt;STRONG&gt;Gilles Chanteau&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Do you have any idea on this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Alex Andrews.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 06:19:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/get-stretched-entity-in-an-active-document-of-autocad-c/m-p/8709578#M974993</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-05T06:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: Get Stretched Entity in an active document of AutoCAD c#</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/get-stretched-entity-in-an-active-document-of-autocad-c/m-p/8709692#M974999</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#333399"&gt;&lt;EM&gt;&amp;gt;&amp;gt; I tried the below approach&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Not sure, what you mean by "below approach".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- alfred -&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 07:22:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/get-stretched-entity-in-an-active-document-of-autocad-c/m-p/8709692#M974999</guid>
      <dc:creator>Alfred.NESWADBA</dc:creator>
      <dc:date>2019-04-05T07:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: Get Stretched Entity in an active document of AutoCAD c#</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/get-stretched-entity-in-an-active-document-of-autocad-c/m-p/8730732#M976273</link>
      <description>&lt;P&gt;Still I did'nt get any replies or Soln's&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2019 12:07:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/get-stretched-entity-in-an-active-document-of-autocad-c/m-p/8730732#M976273</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-15T12:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: Get Stretched Entity in an active document of AutoCAD c#</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/get-stretched-entity-in-an-active-document-of-autocad-c/m-p/8730853#M976278</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#333399"&gt;&lt;EM&gt;&amp;gt;&amp;gt; did'nt get any replies or Soln's&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Because there does not exist any solution (without catching the commands that do stretching)?&lt;/P&gt;
&lt;P&gt;An entity in AutoCAD does not know if it was stretched or not, so you can't select them.&lt;/P&gt;
&lt;P&gt;Even the event won't help if you get a drawing from anyone else, a line does not know it's history, does not know, how it was created or modified, so also not, if it was stretched or not.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As I wrote, you might catch the events (e.g. object modified, command started, command ended) so you get the entities handled by the activate command while the user is working. But when an object was stretched at any previous command you can't get them into a selection.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- alfred -&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2019 12:39:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/get-stretched-entity-in-an-active-document-of-autocad-c/m-p/8730853#M976278</guid>
      <dc:creator>Alfred.NESWADBA</dc:creator>
      <dc:date>2019-04-15T12:39:55Z</dc:date>
    </item>
  </channel>
</rss>

