PDA

View Full Version : Thaw Lisp


fletch97
2005-05-16, 04:21 PM
Trying to write a lisp that will select all viewports and thaw all layers that may have been frozen within each viewport.

Any suggestions?

Thanks!!

RobertB
2005-05-16, 04:39 PM
Are you aware of the VPLayer command?

fletch97
2005-05-16, 04:41 PM
Yes.....doesn't seem to help me with my lisp.

fletch97
2005-05-16, 04:56 PM
Nevermind.....I think i got it now.


(defun c:Thawvp ()
(setvar "cmdecho" 0)
(command "tilemode" 0)
(command "vplayer" "t" "*" "all" "")
(command "regenall")
(setvar "cmdecho" 1)
(princ)
)