<?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: processing drawings w/o opening them - no time improvment in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/processing-drawings-w-o-opening-them-no-time-improvment/m-p/3934084#M49432</link>
    <description>&lt;P&gt;here is what my routine does to each DWG file in the set:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;check that each XREF is on a particular layer which is locked &amp;amp; that the insertion point is 0,0&lt;/P&gt;&lt;P&gt;read the XREF status into an array&lt;/P&gt;&lt;P&gt;unlock that layer&lt;/P&gt;&lt;P&gt;reset the path of each&amp;nbsp;XREF to a known existing location &amp;amp; reload the XREF&lt;/P&gt;&lt;P&gt;unload all XREFs&lt;/P&gt;&lt;P&gt;reload those that were loaded originally (status from the array)(most remain unloaded)&lt;/P&gt;&lt;P&gt;lock that layer&lt;/P&gt;&lt;P&gt;save&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 23 May 2013 16:39:11 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-05-23T16:39:11Z</dc:date>
    <item>
      <title>processing drawings w/o opening them - no time improvment</title>
      <link>https://forums.autodesk.com/t5/net-forum/processing-drawings-w-o-opening-them-no-time-improvment/m-p/3933920#M49430</link>
      <description>&lt;P&gt;I modified a routine that processed xref names &amp;amp; paths w/in a set of folders. Thie original version would open each drawing &amp;amp; do its thing. THis would take about 20 minutes (aprroximately 90 files). I modified it to work w/o opening each drawing. This still takes about 20 minutes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would have though that not avtually opeing each drawing would dramitically decrease the overall time required to run this routine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;anyone have any insight to this?&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2013 14:46:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/processing-drawings-w-o-opening-them-no-time-improvment/m-p/3933920#M49430</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-23T14:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: processing drawings w/o opening them - no time improvment</title>
      <link>https://forums.autodesk.com/t5/net-forum/processing-drawings-w-o-opening-them-no-time-improvment/m-p/3934009#M49431</link>
      <description>&lt;P&gt;Opening the file as a side database or with ObjectDBX is much much faster then opening it in the editor.&lt;/P&gt;&lt;P&gt;How are you modifying the drawings?&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2013 15:42:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/processing-drawings-w-o-opening-them-no-time-improvment/m-p/3934009#M49431</guid>
      <dc:creator>arcticad</dc:creator>
      <dc:date>2013-05-23T15:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: processing drawings w/o opening them - no time improvment</title>
      <link>https://forums.autodesk.com/t5/net-forum/processing-drawings-w-o-opening-them-no-time-improvment/m-p/3934084#M49432</link>
      <description>&lt;P&gt;here is what my routine does to each DWG file in the set:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;check that each XREF is on a particular layer which is locked &amp;amp; that the insertion point is 0,0&lt;/P&gt;&lt;P&gt;read the XREF status into an array&lt;/P&gt;&lt;P&gt;unlock that layer&lt;/P&gt;&lt;P&gt;reset the path of each&amp;nbsp;XREF to a known existing location &amp;amp; reload the XREF&lt;/P&gt;&lt;P&gt;unload all XREFs&lt;/P&gt;&lt;P&gt;reload those that were loaded originally (status from the array)(most remain unloaded)&lt;/P&gt;&lt;P&gt;lock that layer&lt;/P&gt;&lt;P&gt;save&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2013 16:39:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/processing-drawings-w-o-opening-them-no-time-improvment/m-p/3934084#M49432</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-23T16:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: processing drawings w/o opening them - no time improvment</title>
      <link>https://forums.autodesk.com/t5/net-forum/processing-drawings-w-o-opening-them-no-time-improvment/m-p/3934090#M49433</link>
      <description>&lt;P&gt;PS, this is done over a network&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2013 16:42:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/processing-drawings-w-o-opening-them-no-time-improvment/m-p/3934090#M49433</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-23T16:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: processing drawings w/o opening them - no time improvment</title>
      <link>https://forums.autodesk.com/t5/net-forum/processing-drawings-w-o-opening-them-no-time-improvment/m-p/3934370#M49434</link>
      <description>&lt;P&gt;Any way to test your code against a file on the local machine rather than the network?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FWIW - I usually pull files from a different building and the network latencies can greatly override the benefit of doing your processing in a side database. Especially when you consider the fact that others are doing their own network stuff and filling up the pipe as it were.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2013 19:30:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/processing-drawings-w-o-opening-them-no-time-improvment/m-p/3934370#M49434</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-23T19:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: processing drawings w/o opening them - no time improvment</title>
      <link>https://forums.autodesk.com/t5/net-forum/processing-drawings-w-o-opening-them-no-time-improvment/m-p/3934664#M49435</link>
      <description>If the drawings contain very little geometry visible in the initial view, and there is not a lot of startup code that runs on the opening of each drawing, the drawings may open quickly in the editor, and the difference between that and opening the drawings via Database.ReadDwgFile() may not be too significant, which is because AutoCAD doesn't initially read the entire database when it opens a drawing file in the editor.</description>
      <pubDate>Fri, 24 May 2013 04:25:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/processing-drawings-w-o-opening-them-no-time-improvment/m-p/3934664#M49435</guid>
      <dc:creator>DiningPhilosopher</dc:creator>
      <dc:date>2013-05-24T04:25:01Z</dc:date>
    </item>
  </channel>
</rss>

