<?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: ScreenUpdating in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/screenupdating/m-p/3074624#M60328</link>
    <description>&lt;P&gt;Not sure about test this code as well&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sub test()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dim tm as TransactionManger =doc.TransactionManager&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For Each....&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;'' [ the rest your code here ]&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Next&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;' then before of committing the transaction add these lines:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tm.QueueForGraphicsFlush()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tm.FlushGraphics()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ed.UpdateScreen()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tr.Commit()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jun 2011 18:27:42 GMT</pubDate>
    <dc:creator>Hallex</dc:creator>
    <dc:date>2011-06-28T18:27:42Z</dc:date>
    <item>
      <title>ScreenUpdating</title>
      <link>https://forums.autodesk.com/t5/net-forum/screenupdating/m-p/3073910#M60326</link>
      <description>&lt;P&gt;Is there a way to turn off screenupdating until a process is complete.&lt;/P&gt;&lt;P&gt;Similar to Application.ScreenUpdating﻿ = False used in Excel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I make changes to several blocks and you can watch as it moves through each one. I'm guessing it might be faster if the drawing doesn't redraw after each.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2011 09:33:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/screenupdating/m-p/3073910#M60326</guid>
      <dc:creator>SRSDS</dc:creator>
      <dc:date>2011-06-28T09:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: ScreenUpdating</title>
      <link>https://forums.autodesk.com/t5/net-forum/screenupdating/m-p/3074316#M60327</link>
      <description>&lt;P&gt;I posted the solution here&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://forums.autodesk.com/t5/NET/regen/m-p/2646539/highlight/true#M18257"&gt;http://forums.autodesk.com/t5/NET/regen/m-p/2646539/highlight/true#M18257&lt;/A&gt;﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2011 15:20:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/screenupdating/m-p/3074316#M60327</guid>
      <dc:creator>arcticad</dc:creator>
      <dc:date>2011-06-28T15:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: ScreenUpdating</title>
      <link>https://forums.autodesk.com/t5/net-forum/screenupdating/m-p/3074624#M60328</link>
      <description>&lt;P&gt;Not sure about test this code as well&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sub test()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dim tm as TransactionManger =doc.TransactionManager&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For Each....&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;'' [ the rest your code here ]&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Next&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;' then before of committing the transaction add these lines:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tm.QueueForGraphicsFlush()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tm.FlushGraphics()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ed.UpdateScreen()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tr.Commit()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2011 18:27:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/screenupdating/m-p/3074624#M60328</guid>
      <dc:creator>Hallex</dc:creator>
      <dc:date>2011-06-28T18:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: ScreenUpdating</title>
      <link>https://forums.autodesk.com/t5/net-forum/screenupdating/m-p/3074774#M60329</link>
      <description>&lt;P&gt;I have all my routines starting and finishing &amp;nbsp;transactions which is possibly be the problem after reading through the thread&amp;nbsp;&lt;A target="_self" href="http://forums.autodesk.com/t5/user/viewprofilepage/user-id/64282"&gt;&lt;SPAN&gt;arcticad&lt;/SPAN&gt;&lt;/A&gt;﻿ posted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rearrange things to do everything under a single transaction might be the answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If not I'll try both your methods.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Frighteningly slow. You have to sit back and wait for it do it's thing.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2011 20:23:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/screenupdating/m-p/3074774#M60329</guid>
      <dc:creator>SRSDS</dc:creator>
      <dc:date>2011-06-28T20:23:11Z</dc:date>
    </item>
  </channel>
</rss>

