<?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: using handles or entity data to compare drawings in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/using-handles-or-entity-data-to-compare-drawings/m-p/9375967#M20144</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why don't you use _COMPARE comand?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Olivier&lt;/P&gt;</description>
    <pubDate>Fri, 13 Mar 2020 08:18:15 GMT</pubDate>
    <dc:creator>O_Eckmann</dc:creator>
    <dc:date>2020-03-13T08:18:15Z</dc:date>
    <item>
      <title>using handles or entity data to compare drawings</title>
      <link>https://forums.autodesk.com/t5/net-forum/using-handles-or-entity-data-to-compare-drawings/m-p/9369069#M20143</link>
      <description>&lt;P&gt;All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if someone could point me in the right direction on this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) i want to compare a newly received drawing (.dwg file-&amp;nbsp; mostly likely written to .dwg format from revit) to an old external reference that was created using an older version of that drawing using the command WBLOCK. Essentially im trying to automate the cleaning process of an external reference as we receive new backgrounds..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- From my understanding, handles can only be used to create references between drawings if they are the same drawing but older or newer version of the drawing. In my case: WBLOCK will create new handles for all entities being written into the new .dwg file. my own debugging has confirmed my theory that the handles are different.. However, I would like to hear it from someone with more experience before I move onto a different approach..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- If handles cannot be used in my scenario, can someone give me advice on how to approach this? My only thought is to iterate through the entities in the old external reference and compare them to the entities in the newly received drawings..This will get complicated as i will need to burst and explode blocks where required, but im up for hte challange just want to make sure im going about this the right way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-John&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2020 13:17:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/using-handles-or-entity-data-to-compare-drawings/m-p/9369069#M20143</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-10T13:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: using handles or entity data to compare drawings</title>
      <link>https://forums.autodesk.com/t5/net-forum/using-handles-or-entity-data-to-compare-drawings/m-p/9375967#M20144</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why don't you use _COMPARE comand?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Olivier&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2020 08:18:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/using-handles-or-entity-data-to-compare-drawings/m-p/9375967#M20144</guid>
      <dc:creator>O_Eckmann</dc:creator>
      <dc:date>2020-03-13T08:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: using handles or entity data to compare drawings</title>
      <link>https://forums.autodesk.com/t5/net-forum/using-handles-or-entity-data-to-compare-drawings/m-p/9376649#M20145</link>
      <description>&lt;P&gt;Thanks for the reply olivier.. Unfortunately i dont think that will work as the _Compare or dwg compare built in to autoCad uses handles to compare drawings. In my scenario, if i use this - it will say both drawings are completely different because they are copies and not a version of the original drawing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have had some success using a hashsets of layers, block reference names, and object types in the old external reference, then comparing those sets to the new incoming drawing and then WBLOCK ing those entities out to another drawing, but im curious if there is a better way to accomplish this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-John&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2020 14:32:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/using-handles-or-entity-data-to-compare-drawings/m-p/9376649#M20145</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-13T14:32:09Z</dc:date>
    </item>
  </channel>
</rss>

