Nick-H- Posted October 15, 2009 Posted October 15, 2009 My work mate has just asked me a question, I cant answer it, I wonder if someone on here can He has got a drawing with multiple tabs, he has just pasted a layer in off another drawings, but he needs to turn that layer off in all drawings tabs (in all veiwports) apart from one drawing is there anyway of selecting all the tabs it need to be turned off in, instead of going into each tab clicking in the model, selecting the layer and freezing it Nick Quote
lpseifert Posted October 15, 2009 Posted October 15, 2009 Try the VPLayer command; works with Freeze, not Off Quote
Nick-H- Posted October 15, 2009 Author Posted October 15, 2009 Please can you explain to me how to use it Quote
lpseifert Posted October 15, 2009 Posted October 15, 2009 Vplayer > Freeze > Enter layer name(s) to freeze or : Type layer name or select Specify viewport(s) [All/Select/Current] : All My error, works only one tab at a time Quote
Nick-H- Posted October 15, 2009 Author Posted October 15, 2009 cheers ive learnt alot this week Quote
lpseifert Posted October 15, 2009 Posted October 15, 2009 Here's a quicky, a little slow... (defun c:test (/ ln ct) (setq ln (getstring T "Enter layer name(s) to freeze: "));separate multiple layers with a comma (setq ct (getvar "ctab")) (foreach lay (layoutlist)(command "_layout" "_Set" lay "_mspace" "Vplayer" "f" ln "a" "")) (setvar "ctab" ct) (princ) ) Quote
alanjt Posted October 15, 2009 Posted October 15, 2009 Here's a quicky, a little slow... (defun c:test (/ ln ct) (setq ln (getstring T "Enter layer name(s) to freeze: "));separate multiple layers with a comma (setq ct (getvar "ctab")) (foreach lay (layoutlist)(command "_layout" "_Set" lay "_mspace" "Vplayer" "f" ln "a" "")) (setvar "ctab" ct) (princ) ) Just so you know, with the latest C3D 2009 service pack, they finally fixed the VPlayer bug, the freeze all option finally works again. Quote
Nick-H- Posted October 15, 2009 Author Posted October 15, 2009 I just tried freeze all in 2007 and it works fine Quote
alanjt Posted October 15, 2009 Posted October 15, 2009 I just tried freeze all in 2007 and it works fine It was broken in v2009. Quote
lpseifert Posted October 15, 2009 Posted October 15, 2009 Just so you know, with the latest C3D 2009 service pack, they finally fixed the VPlayer bug, the freeze all option finally works again. Thanks for the heads up. I thought it worked in 2008; new job, I've got 2009 now. I guess I oughta get around to installing the service packs... Quote
alanjt Posted October 15, 2009 Posted October 15, 2009 Thanks for the heads up. I thought it worked in 2008; new job, I've got 2009 now.I guess I oughta get around to installing the service packs... It worked in 08. Def. install the service packs, 09 get a lot more stable. 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.