<?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 Lisp to turn off all vp frozen layers within a viewport in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-turn-off-all-vp-frozen-layers-within-a-viewport/m-p/7509529#M112577</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Does anyone have a lisp that will turn off all "VP Freeze" layers while within the current viewport?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Wed, 01 Nov 2017 21:14:23 GMT</pubDate>
    <dc:creator>Ryan207</dc:creator>
    <dc:date>2017-11-01T21:14:23Z</dc:date>
    <item>
      <title>Lisp to turn off all vp frozen layers within a viewport</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-turn-off-all-vp-frozen-layers-within-a-viewport/m-p/7509529#M112577</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Does anyone have a lisp that will turn off all "VP Freeze" layers while within the current viewport?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2017 21:14:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-turn-off-all-vp-frozen-layers-within-a-viewport/m-p/7509529#M112577</guid>
      <dc:creator>Ryan207</dc:creator>
      <dc:date>2017-11-01T21:14:23Z</dc:date>
    </item>
    <item>
      <title>Betreff: Lisp to turn off all vp frozen layers within a viewport</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-turn-off-all-vp-frozen-layers-within-a-viewport/m-p/7509556#M112578</link>
      <description>?&lt;BR /&gt;You really want a lisp that turn off Layers (global in your dwg) which VPfreeze=yes in current Viewport?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Nov 2017 21:24:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-turn-off-all-vp-frozen-layers-within-a-viewport/m-p/7509556#M112578</guid>
      <dc:creator>cadffm</dc:creator>
      <dc:date>2017-11-01T21:24:02Z</dc:date>
    </item>
    <item>
      <title>Betreff: Lisp to turn off all vp frozen layers within a viewport</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-turn-off-all-vp-frozen-layers-within-a-viewport/m-p/7509600#M112579</link>
      <description>&lt;P&gt;Yes, that's what I'm looking for.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to be able to create a layout, manage my layers in a viewport with VP Freeze.&amp;nbsp; If i have to do any additional design or adjustments I want model space to reflect the same layers that are available in my paper space.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2017 21:39:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-turn-off-all-vp-frozen-layers-within-a-viewport/m-p/7509600#M112579</guid>
      <dc:creator>Ryan207</dc:creator>
      <dc:date>2017-11-01T21:39:04Z</dc:date>
    </item>
    <item>
      <title>Betreff: Lisp to turn off all vp frozen layers within a viewport</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-turn-off-all-vp-frozen-layers-within-a-viewport/m-p/7509701#M112580</link>
      <description>&lt;P&gt;A little bit crazy, but ok (why you work with VPfreeze and not Freeze?)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;VPMAX VPMIN&amp;nbsp; &lt;SPAN class="short_text"&gt;&lt;SPAN class=""&gt;also does not provide an acceptable workflow?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note: All Layers which VPfreezed in one VP, set to OFF (="global" = in all spaces an viewports)&lt;/P&gt;
&lt;P&gt;-&lt;STRONG&gt; is&lt;/STRONG&gt; &lt;STRONG&gt;NOT&lt;/STRONG&gt; the same view in Modelspace&amp;nbsp; (if there are nested objects on that layers, in Blocks or XRefs)&lt;/P&gt;
&lt;P&gt;[&amp;nbsp;&lt;SPAN class=""&gt;Remember the difference On/Off - Freeze/Thaw for nested objects&lt;/SPAN&gt; ]&lt;/P&gt;
&lt;P&gt;And if you have more Vports, you change the displayed view also there.&lt;/P&gt;
&lt;P&gt;===========&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;;;; All VPfreezed Layer in current VP set OFF
(defun c:CurVPFRlaySetOFF (/ tmp)
  (if (and
    (zerop(getvar 'tilemode))
    (&amp;lt; 1  (getvar 'cvport))
      )
      (foreach VP (mapcar 'cadr (ssnamex (ssget "_X" (list '(0 . "VIEWPORT")(cons 410 (getvar 'ctab))))))
    (if (= (getvar 'cvport) (cdr(assoc 69 (entget VP))))
        (foreach lay (vl-remove-if-not '(lambda(dp)(= 331 (car dp))) (entget vp))
          (and
        (setq lay (entget (cdr lay)))
        (&amp;lt;= 0 (cdr(assoc 62 lay)))
        (princ (strcat "\nLayerOFF: " (cdr(assoc 2 lay))))
            (entmod (subst (cons 62 (* -1 (abs(cdr(assoc 62 lay))))) (assoc 62 lay) lay))
            ; simple Option to VPthaw this Layer in ALL VPorts; (command "_.VPLAYER" "_thaw" (cdr(assoc 2 lay)) "_all" "")
          )
        )
    )
      )
      (princ "\nCurVPFRlaySetOFF only available in floating modelspace / inside a paperspace viewport")
  )
 (princ)
)

 &lt;/PRE&gt;</description>
      <pubDate>Wed, 01 Nov 2017 22:30:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-turn-off-all-vp-frozen-layers-within-a-viewport/m-p/7509701#M112580</guid>
      <dc:creator>cadffm</dc:creator>
      <dc:date>2017-11-01T22:30:12Z</dc:date>
    </item>
    <item>
      <title>Betreff: Lisp to turn off all vp frozen layers within a viewport</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-turn-off-all-vp-frozen-layers-within-a-viewport/m-p/7515116#M112581</link>
      <description>That's what I was looking for. Thanks!! Works Great!&lt;BR /&gt;I work with VP Freeze because we use multiple tabs (Paperspace) per drawing.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 03 Nov 2017 14:04:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-turn-off-all-vp-frozen-layers-within-a-viewport/m-p/7515116#M112581</guid>
      <dc:creator>Ryan207</dc:creator>
      <dc:date>2017-11-03T14:04:23Z</dc:date>
    </item>
  </channel>
</rss>

