Turn masking on and off for a huge bunch of layers

Have you come up with a good Moho trick? Need help solving an animation problem? Come on in.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
heyvern
Posts: 7042
Joined: Fri Sep 02, 2005 4:49 am

Turn masking on and off for a huge bunch of layers

Post by heyvern »

I find that having masking turned ON by default with new layers isn't my cup of tea. I always end up with a bazillion layers I need to turn masking off (or on) on all of them except... 2 or 3.

9 times out of 10 I have to turn the masking OFF.

So now, I use a text editor and change the following with a global search and replace:

Code: Select all

mask 0
to

Code: Select all

mask 1
I may have some masking set up in sub layers... but it is easier to change one or two after the fix than to edit 20 layers before.

Usually when I need to do this I don't have any masking set up yet anyhow... I would like to start with all layers set to "don't mask this layer" but I always forget to do that as I go along.

-vern
User avatar
Rasheed
Posts: 2008
Joined: Tue May 17, 2005 8:30 am
Location: The Netherlands

Post by Rasheed »

Perhaps an opportunity for a menu script? E.g. list the layer hierarchy, let the user tick individual layers' masking mode, and then modify the layers' masking modes.
Post Reply