FazBear Posted May 20, 2009 Posted May 20, 2009 Hi All I am trying the use the ssget to select a vp then command mview & mspace then vplayer to freeze & Thaw layers depending on the layoutname. heres what i have (setq GAVP (ssget "X" (list (cons 0 "VIEWPORT")(cons 410 LAYOUTNAME)(cons 62 1)))) (command "mview" "on" GAVP "") (command "mspace") (command "vplayer" "f" "**" "a" "t" *0?RYD-GA-700*,*GN-COLS*,*" "a" "f" CONZONE2 "a" "") (command "pspace") Problem is all the paperspace layers are being frozen with the vplayer command, even though i am in mspace not sure what im doing wrong. Can anyone please advise? Quote
Commandobill Posted May 20, 2009 Posted May 20, 2009 It freezes all of them because you are telling it to. try this (command "vplayer" "f" "**" "c" "t" *0?RYD-GA-700*,*GN-COLS*,*" "c" "f" CONZONE2 "c" "") Quote
Commandobill Posted May 20, 2009 Posted May 20, 2009 Sorry for being so short in my last post. Quite simply you were choosing "a" for all viewports instead of "c" for Current viewport. And as we all know paper space is considered a viewport therefor freezing the layers inside it. Quote
FazBear Posted May 21, 2009 Author Posted May 21, 2009 Ah! I didnt know that all mean paperspace as well, i assumed it meant all viewports but thank you for clarifying that. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.