<?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: SUPPRESS REGENS? in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/suppress-regens/m-p/1148000#M49588</link>
    <description>You should be able to set the layout without displaying it and change it.
Whenever the user eventually goes there, the autoregen will occur, or you
can regen all layouts at the end of the app.
-- Mike
___________________________
Mike Tuersley
CADalyst's CAD Clinic
Rand IMAGINiT Technologies
___________________________
the trick is to realize that there is no spoon...</description>
    <pubDate>Fri, 01 Oct 2004 19:18:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2004-10-01T19:18:28Z</dc:date>
    <item>
      <title>SUPPRESS REGENS?</title>
      <link>https://forums.autodesk.com/t5/vba-forum/suppress-regens/m-p/1147990#M49578</link>
      <description>Is it possible to suppress all regens until my VBA program is done running?</description>
      <pubDate>Thu, 30 Sep 2004 20:59:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/suppress-regens/m-p/1147990#M49578</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-09-30T20:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: SUPPRESS REGENS?</title>
      <link>https://forums.autodesk.com/t5/vba-forum/suppress-regens/m-p/1147991#M49579</link>
      <description>Loaded question. What does your app do??? You can set REGENMODE to 0 which
turns RegenAuto off but will not stop all regenerations from occuring.
Depending upon your app, you may be able to change how it functions to
avoid, or limit, regens. 

For example, I once ran across someone who thought his program had to "see"
the drawing area so he had the program keep zooming extents so it wouldn't
draw off screen. If you were him, removing all the zoom extents and adding
one at the end to display the final drawing would work.

-- Mike
___________________________
Mike Tuersley
CADalyst's CAD Clinic
Rand IMAGINiT Technologies
___________________________
the trick is to realize that there is no spoon...</description>
      <pubDate>Fri, 01 Oct 2004 03:50:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/suppress-regens/m-p/1147991#M49579</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-10-01T03:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: SUPPRESS REGENS?</title>
      <link>https://forums.autodesk.com/t5/vba-forum/suppress-regens/m-p/1147992#M49580</link>
      <description>Have an app that changes to every layout in a drawing and does some stuff.  Having to regen all of the layouts slows down the app.</description>
      <pubDate>Fri, 01 Oct 2004 12:03:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/suppress-regens/m-p/1147992#M49580</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-10-01T12:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: SUPPRESS REGENS?</title>
      <link>https://forums.autodesk.com/t5/vba-forum/suppress-regens/m-p/1147993#M49581</link>
      <description>You may want to look into the LAYOUTREGENCTL variable.

-- 
I support two teams: the Red Sox and whoever beats the Yankees.


"tsigwing" &lt;NOSPAM&gt; wrote in message 
news:19370280.1096632250309.JavaMail.jive@jiveforum1.autodesk.com...
| Have an app that changes to every layout in a drawing and does some stuff. 
Having to regen all of the layouts slows down the app.&lt;/NOSPAM&gt;</description>
      <pubDate>Fri, 01 Oct 2004 12:34:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/suppress-regens/m-p/1147993#M49581</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-10-01T12:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: SUPPRESS REGENS?</title>
      <link>https://forums.autodesk.com/t5/vba-forum/suppress-regens/m-p/1147994#M49582</link>
      <description>Do you have to switch to each layout? What about accessing the layouts
through the Layouts collection?

Ben Rand

"tsigwing" &lt;NOSPAM&gt; wrote in message
news:19370280.1096632250309.JavaMail.jive@jiveforum1.autodesk.com...
&amp;gt; Have an app that changes to every layout in a drawing and does some stuff.
Having to regen all of the layouts slows down the app.&lt;/NOSPAM&gt;</description>
      <pubDate>Fri, 01 Oct 2004 14:03:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/suppress-regens/m-p/1147994#M49582</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-10-01T14:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: SUPPRESS REGENS?</title>
      <link>https://forums.autodesk.com/t5/vba-forum/suppress-regens/m-p/1147995#M49583</link>
      <description>MIke, this "see the drawing area" is interesting.  There is a ghosting technique that involves placing a block or element and then immediately passing it to a move last command. It works only when the initial place point is within the screen area.  To mask this drawback one can prompt for a point to indicate into which screen the element is to be placed and then use that point at the initial placement point.  Would there be a way to use the "place then move" method without having to "see the drawing area"?</description>
      <pubDate>Fri, 01 Oct 2004 14:28:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/suppress-regens/m-p/1147995#M49583</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-10-01T14:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: SUPPRESS REGENS?</title>
      <link>https://forums.autodesk.com/t5/vba-forum/suppress-regens/m-p/1147996#M49584</link>
      <description>I'm not sure I follow you...yes, you can place something in the drawing and
move it anywhere without "seeing" the final destination as long as you know
the point. Does that answer you're question?

-- Mike
___________________________
Mike Tuersley
CADalyst's CAD Clinic
Rand IMAGINiT Technologies
___________________________
the trick is to realize that there is no spoon...</description>
      <pubDate>Fri, 01 Oct 2004 16:59:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/suppress-regens/m-p/1147996#M49584</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-10-01T16:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: SUPPRESS REGENS?</title>
      <link>https://forums.autodesk.com/t5/vba-forum/suppress-regens/m-p/1147997#M49585</link>
      <description>"tsigwing" &lt;NOSPAM&gt; wrote in message
news:19370280.1096632250309.JavaMail.jive@jiveforum1.autodesk.com...
&amp;gt; Have an app that changes to every layout in a drawing and does some stuff.
Having to regen all of the layouts slows down the app.

Is it necessary to switch to each layout for what you are doing?  I have a
routine that modifies attribute values across layouts (title blocks) without
changing the active layout.&lt;/NOSPAM&gt;</description>
      <pubDate>Fri, 01 Oct 2004 17:26:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/suppress-regens/m-p/1147997#M49585</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-10-01T17:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: SUPPRESS REGENS?</title>
      <link>https://forums.autodesk.com/t5/vba-forum/suppress-regens/m-p/1147998#M49586</link>
      <description>It seemed like you implied it was not necessary for all&lt;BR /&gt;
applications to function if the screen view was smaller than&lt;BR /&gt;
the total drawing plane.  I believe there is an instance where&lt;BR /&gt;
this is not true.  This is when one places and then moves&lt;BR /&gt;
something using autocad commands issued by&lt;BR /&gt;
sendcommand.  The reason for using that method would be&lt;BR /&gt;
to achieve a feedback ghost effect that is not normally&lt;BR /&gt;
possible in VBA.  I just figured I'm missing out on something&lt;BR /&gt;
because as far as I know,  there are times when you do have&lt;BR /&gt;
to have a target area visible for things to work right.</description>
      <pubDate>Fri, 01 Oct 2004 18:14:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/suppress-regens/m-p/1147998#M49586</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-10-01T18:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: SUPPRESS REGENS?</title>
      <link>https://forums.autodesk.com/t5/vba-forum/suppress-regens/m-p/1147999#M49587</link>
      <description>Ok, now I understand &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt; You are correct, you cannot use this with
sendcommand which, even if you could, defeats your purpose -- you want the
user to see the ghost because *he* is manpulating it.

-- Mike
___________________________
Mike Tuersley
CADalyst's CAD Clinic
Rand IMAGINiT Technologies
___________________________
the trick is to realize that there is no spoon...</description>
      <pubDate>Fri, 01 Oct 2004 19:15:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/suppress-regens/m-p/1147999#M49587</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-10-01T19:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: SUPPRESS REGENS?</title>
      <link>https://forums.autodesk.com/t5/vba-forum/suppress-regens/m-p/1148000#M49588</link>
      <description>You should be able to set the layout without displaying it and change it.
Whenever the user eventually goes there, the autoregen will occur, or you
can regen all layouts at the end of the app.
-- Mike
___________________________
Mike Tuersley
CADalyst's CAD Clinic
Rand IMAGINiT Technologies
___________________________
the trick is to realize that there is no spoon...</description>
      <pubDate>Fri, 01 Oct 2004 19:18:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/suppress-regens/m-p/1148000#M49588</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-10-01T19:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: SUPPRESS REGENS?</title>
      <link>https://forums.autodesk.com/t5/vba-forum/suppress-regens/m-p/1148001#M49589</link>
      <description>Yes it is necessary because each drawing contains a keyplan view.  I am zooming the keyplan to extents, freezing appropriate layers in the view and then locking the view.  I do this for each layout in the drawing, for which there are several.</description>
      <pubDate>Mon, 04 Oct 2004 11:42:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/suppress-regens/m-p/1148001#M49589</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-10-04T11:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: SUPPRESS REGENS?</title>
      <link>https://forums.autodesk.com/t5/vba-forum/suppress-regens/m-p/1148002#M49590</link>
      <description>Sooooo.... how do you set the layout *without* displaying it?!?
Are you setting it as the 'active' layout?

ThisDrawing.ActiveLayout = ThisDrawing.Layouts("Layout1")

Or is there something I'm missing?  (it is only Monday morning after all).

-- 
I support two teams: the Red Sox and whoever beats the Yankees.


"Mike Tuersley" &lt;MTUERSLEY&gt; wrote in message 
news:fgrkb18mezoc$.12z3o1d0rc0fq$.dlg@40tude.net...
| You should be able to set the layout without displaying it and change it.
| Whenever the user eventually goes there, the autoregen will occur, or you
| can regen all layouts at the end of the app.
| -- Mike
| ___________________________
| Mike Tuersley
| CADalyst's CAD Clinic
| Rand IMAGINiT Technologies
| ___________________________
| the trick is to realize that there is no spoon...&lt;/MTUERSLEY&gt;</description>
      <pubDate>Mon, 04 Oct 2004 13:20:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/suppress-regens/m-p/1148002#M49590</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-10-04T13:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: SUPPRESS REGENS?</title>
      <link>https://forums.autodesk.com/t5/vba-forum/suppress-regens/m-p/1148003#M49591</link>
      <description>It was Friday =)

I meant modify the layout AND was thinking DBX

-- Mike
___________________________
Mike Tuersley
CADalyst's CAD Clinic
Rand IMAGINiT Technologies
___________________________
the trick is to realize that there is no spoon...</description>
      <pubDate>Mon, 04 Oct 2004 15:39:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/suppress-regens/m-p/1148003#M49591</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-10-04T15:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: SUPPRESS REGENS?</title>
      <link>https://forums.autodesk.com/t5/vba-forum/suppress-regens/m-p/1148004#M49592</link>
      <description>tsigwing wrote:
&amp;gt; Is it possible to suppress all regens until my VBA program is done running?

I've read through most of the replies and understand what you are trying 
to do.  You have to bring up each layout because you need access to the 
viewport modelspace on each one.

To do something similar, we freeze the layers that are not used in the 
operation.  Regens are much faster and an hour operation becomes a 5 
minute operation.

I don't know if it will work for your situation, but give it a try.  i 
don't believe that freezing a layer will affect your ability to 
viewport-freeze it.

I hope this helps

Tom Austin
Stine Consulting</description>
      <pubDate>Tue, 05 Oct 2004 12:46:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/suppress-regens/m-p/1148004#M49592</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-10-05T12:46:22Z</dc:date>
    </item>
  </channel>
</rss>

