<?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: in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/freeze-layer-in-a-viewport/m-p/309723#M60461</link>
    <description>Yes you can but it's a long drawn-out process.&lt;BR /&gt;
&lt;BR /&gt;
Joe&lt;BR /&gt;
--</description>
    <pubDate>Thu, 25 Sep 2003 07:53:35 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2003-09-25T07:53:35Z</dc:date>
    <item>
      <title>Freeze layer in a viewport...</title>
      <link>https://forums.autodesk.com/t5/vba-forum/freeze-layer-in-a-viewport/m-p/309720#M60458</link>
      <description>So I am in a a paperspace viewport.  How do I freeze layers just in this viewport?</description>
      <pubDate>Wed, 24 Sep 2003 05:12:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/freeze-layer-in-a-viewport/m-p/309720#M60458</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-09-24T05:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: Freeze layer in a viewport...</title>
      <link>https://forums.autodesk.com/t5/vba-forum/freeze-layer-in-a-viewport/m-p/309721#M60459</link>
      <description>&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;You can't do it using VBA up to Autocad 2002. Don't &lt;BR /&gt;
know about 2004. But, asdkunsupp2000.arx provides this function, and several &lt;BR /&gt;
others that were inexplicably omitted from standard VBA. You should be able to &lt;BR /&gt;
get it off the AutoCad website.&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;&lt;BR /&gt;
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"&amp;gt;&lt;BR /&gt;
  &lt;DIV&gt;"tsigwing" &amp;lt;&lt;A href="mailto:troy@sigwing.net"&gt;troy@sigwing.net&lt;/A&gt;&amp;gt; &lt;BR /&gt;
  wrote in message &lt;A&gt;&lt;BR /&gt;
  href="news:f18cf4b.-1@WebX.maYIadrTaRb"&amp;gt;news:f18cf4b.-1@WebX.maYIadrTaRb&lt;/A&gt;...&lt;/DIV&gt;So &lt;BR /&gt;
  I am in a a paperspace viewport. How do I freeze layers just in this &lt;BR /&gt;
viewport?&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Thu, 25 Sep 2003 05:00:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/freeze-layer-in-a-viewport/m-p/309721#M60459</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-09-25T05:00:31Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/freeze-layer-in-a-viewport/m-p/309722#M60460</link>
      <description>Well doesn't that just figure.  Thanks for the reply.</description>
      <pubDate>Thu, 25 Sep 2003 07:53:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/freeze-layer-in-a-viewport/m-p/309722#M60460</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-09-25T07:53:35Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/freeze-layer-in-a-viewport/m-p/309723#M60461</link>
      <description>Yes you can but it's a long drawn-out process.&lt;BR /&gt;
&lt;BR /&gt;
Joe&lt;BR /&gt;
--</description>
      <pubDate>Thu, 25 Sep 2003 07:53:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/freeze-layer-in-a-viewport/m-p/309723#M60461</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-09-25T07:53:35Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/freeze-layer-in-a-viewport/m-p/309724#M60462</link>
      <description>Well don't tease me like that...watcha got to do?</description>
      <pubDate>Thu, 25 Sep 2003 13:26:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/freeze-layer-in-a-viewport/m-p/309724#M60462</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-09-25T13:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: Freeze layer in a viewport...</title>
      <link>https://forums.autodesk.com/t5/vba-forum/freeze-layer-in-a-viewport/m-p/309725#M60463</link>
      <description>&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;Oh - &lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;You can also do it by using "Sendcommand" to run &lt;BR /&gt;
"vplayer," but that takes all the fun out of it.&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;&lt;BR /&gt;
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"&amp;gt;&lt;BR /&gt;
  &lt;DIV&gt;"tsigwing" &amp;lt;&lt;A href="mailto:troy@sigwing.net"&gt;troy@sigwing.net&lt;/A&gt;&amp;gt; &lt;BR /&gt;
  wrote in message &lt;A&gt;&lt;BR /&gt;
  href="news:f18cf4b.-1@WebX.maYIadrTaRb"&amp;gt;news:f18cf4b.-1@WebX.maYIadrTaRb&lt;/A&gt;...&lt;/DIV&gt;So &lt;BR /&gt;
  I am in a a paperspace viewport. How do I freeze layers just in this &lt;BR /&gt;
viewport?&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Fri, 26 Sep 2003 12:23:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/freeze-layer-in-a-viewport/m-p/309725#M60463</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-09-26T12:23:41Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/freeze-layer-in-a-viewport/m-p/309726#M60464</link>
      <description>The AcadX ActiveX Extensions (www.caddzone.com/acadx) have&lt;BR /&gt;
methods that allow you to freeze/thaw layers in viewports.&lt;BR /&gt;
&lt;BR /&gt;
See the AcadXPViewport class&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
AcadXTabs: Document Tabs for AutoCAD&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"tsigwing" &lt;TROY&gt; wrote in message news:f18cf4b.3@WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; Well don't tease me like that...watcha got to do?&lt;/TROY&gt;</description>
      <pubDate>Fri, 26 Sep 2003 15:17:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/freeze-layer-in-a-viewport/m-p/309726#M60464</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-09-26T15:17:51Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/freeze-layer-in-a-viewport/m-p/309727#M60465</link>
      <description>Question (and slap me if I'm off base here):&lt;BR /&gt;
&lt;BR /&gt;
Seems to me that the last time I looked at ActiveX for this function, you&lt;BR /&gt;
had to feed it one layer at a time (as opposed to feeding an array of layers&lt;BR /&gt;
to the asdkunsupp function). Since each layer set off a regen, you could sit&lt;BR /&gt;
around for a long time freezing 50 or so layers.&lt;BR /&gt;
&lt;BR /&gt;
Is this still the case, or was I mistaken in the first place?&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Tony Tanzillo" &lt;TONY.TANZILLO at="" caddzone="" dot="" com=""&gt; wrote in message&lt;BR /&gt;
news:E129328E0B3CD20395150A992A51AFD4@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; The AcadX ActiveX Extensions (www.caddzone.com/acadx) have&lt;BR /&gt;
&amp;gt; methods that allow you to freeze/thaw layers in viewports.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; See the AcadXPViewport class&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; --&lt;BR /&gt;
&amp;gt; AcadXTabs: Document Tabs for AutoCAD&lt;BR /&gt;
&amp;gt; http://www.acadxtabs.com&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; "tsigwing" &lt;TROY&gt; wrote in message&lt;BR /&gt;
news:f18cf4b.3@WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; &amp;gt; Well don't tease me like that...watcha got to do?&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/TROY&gt;&lt;/TONY.TANZILLO&gt;</description>
      <pubDate>Fri, 26 Sep 2003 18:42:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/freeze-layer-in-a-viewport/m-p/309727#M60465</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-09-26T18:42:14Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/freeze-layer-in-a-viewport/m-p/309728#M60466</link>
      <description>The LayerFrozen() pseudo-property deals with one layer&lt;BR /&gt;
at a time.&lt;BR /&gt;
&lt;BR /&gt;
The FrozenLayers() property (takes/returns a variant&lt;BR /&gt;
containing an Array of AcadLayer objects) allows you&lt;BR /&gt;
to specify all frozen layers (exclusively):&lt;BR /&gt;
&lt;BR /&gt;
   Dim Layers(0 to 2) As Variant&lt;BR /&gt;
   Set Layers(0) = ThisDrawing.Layers("walls")&lt;BR /&gt;
   Set Layers(1) = ThisDrawing.Layers("doors")&lt;BR /&gt;
   Set Layers(2) = ThisDrawing.Layers("windows")&lt;BR /&gt;
&lt;BR /&gt;
   Dim VPort As AcadXPViewport&lt;BR /&gt;
   Set VPort = new AcadXPViewport&lt;BR /&gt;
   VPort.Viewport = ThisDrawing.ActivePViewport&lt;BR /&gt;
   VPort.FrozenLayers = Layers&lt;BR /&gt;
&lt;BR /&gt;
If you want to freeze/thaw multiple layers in addition&lt;BR /&gt;
to those that are already frozen/thawed (inclusively),&lt;BR /&gt;
then the AcadXApplication object has methods that take&lt;BR /&gt;
an array of AcadLayers:&lt;BR /&gt;
&lt;BR /&gt;
 GetFrozenViewportLayers(Viewport As Object) As Variant&lt;BR /&gt;
 FreezeLayersInViewport(Viewport As Object, Layers As Variant)&lt;BR /&gt;
 ThawLayersInViewport(Viewport As Object, Layers As Variant)&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
AcadXTabs: Document Tabs for AutoCAD&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Tony Burba" &lt;TBURBA&gt; wrote in message news:8312F64AA74A8DA66371A533B91B307E@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; Question (and slap me if I'm off base here):&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Seems to me that the last time I looked at ActiveX for this function, you&lt;BR /&gt;
&amp;gt; had to feed it one layer at a time (as opposed to feeding an array of layers&lt;BR /&gt;
&amp;gt; to the asdkunsupp function). Since each layer set off a regen, you could sit&lt;BR /&gt;
&amp;gt; around for a long time freezing 50 or so layers.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Is this still the case, or was I mistaken in the first place?&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; "Tony Tanzillo" &lt;TONY.TANZILLO at="" caddzone="" dot="" com=""&gt; wrote in message&lt;BR /&gt;
&amp;gt; news:E129328E0B3CD20395150A992A51AFD4@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; &amp;gt; The AcadX ActiveX Extensions (www.caddzone.com/acadx) have&lt;BR /&gt;
&amp;gt; &amp;gt; methods that allow you to freeze/thaw layers in viewports.&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; See the AcadXPViewport class&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; --&lt;BR /&gt;
&amp;gt; &amp;gt; AcadXTabs: Document Tabs for AutoCAD&lt;BR /&gt;
&amp;gt; &amp;gt; http://www.acadxtabs.com&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; "tsigwing" &lt;TROY&gt; wrote in message&lt;BR /&gt;
&amp;gt; news:f18cf4b.3@WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; Well don't tease me like that...watcha got to do?&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/TROY&gt;&lt;/TONY.TANZILLO&gt;&lt;/TBURBA&gt;</description>
      <pubDate>Sat, 27 Sep 2003 16:28:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/freeze-layer-in-a-viewport/m-p/309728#M60466</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-09-27T16:28:01Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/freeze-layer-in-a-viewport/m-p/309729#M60467</link>
      <description>I always forget about the sendcommand.  That makes it too easy. &lt;BR /&gt;
&lt;BR /&gt;
Thanks</description>
      <pubDate>Mon, 29 Sep 2003 12:01:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/freeze-layer-in-a-viewport/m-p/309729#M60467</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-09-29T12:01:31Z</dc:date>
    </item>
  </channel>
</rss>

