--
Dean Saadallah
www.pendean.com
--
"abittar" <and...@ajbittar.com> wrote in message
news:f08f2...@WebX.maYIadrTaRb...
> So how do we do it with a lisp.
>
(setq vp (ssget '((0 . "VIEWPORT")))
l2f (getstring "\nLayers to Freeze: ")
l2t (getstring "\nLayers to Thaw: "))
(command "_.vplayer" "_f" l2f "_s" vp "" "_t" l2t "" "")
___
"Paul Turvill" <nos...@turvill.com> wrote in message
news:7474FF7C0EDBF81E...@in.WebX.maYIadrTaRb...
If you're curious you can get vbextender with source code from the downloads
section of the site.
--
Bobby C. Jones
http://www.acadx.com
In the first attachement, these are the subroutines for you to look at:
1. getVPFLayers - gets a list of layers that are frozen in a viewport
2. PLayers - freezes a list of layers in a viewport
In the second attachment, look at these subroutines:
1. getVPFLayers - gets a list of layers that are frozen in a viewport
2. PutVPFLayers - freezes a list of layers in a viewport
Good luck.