<?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: Regen in all viewports in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/regen-in-all-viewports/m-p/2361467#M73055</link>
    <description>thanks this seems to have solved the problem,&lt;BR /&gt;
&lt;BR /&gt;
I forgot to mention I was coding in c++,&lt;BR /&gt;
&lt;BR /&gt;
Thanks anyway I managed to find an equivalent solution</description>
    <pubDate>Wed, 15 Oct 2008 17:55:07 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2008-10-15T17:55:07Z</dc:date>
    <item>
      <title>Regen in all viewports</title>
      <link>https://forums.autodesk.com/t5/net-forum/regen-in-all-viewports/m-p/2361464#M73052</link>
      <description>Within .Net, how would you cause a regen to happen on all viewports (i.e. the equivalent of clicking on each viewport within ACAD and typing 'REGEN').&lt;BR /&gt;
&lt;BR /&gt;
I have tried sendStringToExecute with string 'REGEN', inconjunction with acedSetCurrentVPort with the vportNum, however it seems the sendStringToExecute is being placed on a stack and executed 3 times (if there were 3 viewports) at the end of my function, rather than it being executed immediately after it is called.&lt;BR /&gt;
&lt;BR /&gt;
Any Ideas?&lt;BR /&gt;
&lt;BR /&gt;
Many Thanks&lt;BR /&gt;
&lt;BR /&gt;
Ross</description>
      <pubDate>Tue, 14 Oct 2008 16:23:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/regen-in-all-viewports/m-p/2361464#M73052</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-14T16:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: Regen in all viewports</title>
      <link>https://forums.autodesk.com/t5/net-forum/regen-in-all-viewports/m-p/2361465#M73053</link>
      <description>I would also like to add that REGENALL does not seem to have the same desired effect as REGEN, therefore i need to call REGEN on each viewport, or something equivalent.&lt;BR /&gt;
&lt;BR /&gt;
Many Thanks&lt;BR /&gt;
&lt;BR /&gt;
Ross

Edited by: fishtoasty on Oct 14, 2008 4:30 PM</description>
      <pubDate>Tue, 14 Oct 2008 16:30:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/regen-in-all-viewports/m-p/2361465#M73053</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-14T16:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: Regen in all viewports</title>
      <link>https://forums.autodesk.com/t5/net-forum/regen-in-all-viewports/m-p/2361466#M73054</link>
      <description>See if this works:&lt;BR /&gt;
&lt;BR /&gt;
Document doc = Application.DocumentManager.MdiActiveDocument;&lt;BR /&gt;
&lt;BR /&gt;
object oAcadDoc = doc.AcadDocument;&lt;BR /&gt;
&lt;BR /&gt;
oAcadDoc.GetType().InvokeMember( "Regen", &lt;BR /&gt;
   BindingFlags.InvokeMethod, null, oAcadDoc,&lt;BR /&gt;
   new object[] { 1 } );&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD 2009&lt;BR /&gt;
Supporting AutoCAD 2000 through 2009&lt;BR /&gt;
&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
Introducing AcadXTabs 2010:&lt;BR /&gt;
http://www.caddzone.com/acadxtabs/AcadXTabs2010.htm&lt;BR /&gt;
&lt;BR /&gt;
&lt;FISHTOASTY&gt; wrote in message news:6051136@discussion.autodesk.com...&lt;BR /&gt;
I would also like to add that REGENALL does not seem to have the same desired effect as REGEN, therefore i need to call REGEN on each viewport, or something equivalent. Many Thanks Ross Edited by: fishtoasty on Oct 14, 2008 4:30 PM&lt;/FISHTOASTY&gt;</description>
      <pubDate>Wed, 15 Oct 2008 00:13:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/regen-in-all-viewports/m-p/2361466#M73054</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-15T00:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: Regen in all viewports</title>
      <link>https://forums.autodesk.com/t5/net-forum/regen-in-all-viewports/m-p/2361467#M73055</link>
      <description>thanks this seems to have solved the problem,&lt;BR /&gt;
&lt;BR /&gt;
I forgot to mention I was coding in c++,&lt;BR /&gt;
&lt;BR /&gt;
Thanks anyway I managed to find an equivalent solution</description>
      <pubDate>Wed, 15 Oct 2008 17:55:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/regen-in-all-viewports/m-p/2361467#M73055</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-15T17:55:07Z</dc:date>
    </item>
  </channel>
</rss>

