 | Checkbox-Expression for Solo-ing Layers in project
on Jan 22, 2019 at 5:05:33 pm |
Hi folks,
I found a few pretty cool tricks for the checkbox but not quite what I am looking for.
Basically I want to have a Layer (Adjustment Layer or else) in my main/render comp that has a checkbox. When toggled on I would want it to solo all layers in my subcomps that have a specific/same name.
Sounds easy enough, but I can't get it to work. Do you guys maybe have an idea?
Thanks very much in advance!
 | Re: Checkbox-Expression for Solo-ing Layers in project on Jan 22, 2019 at 5:22:25 pm |
All your sub comp layers would need an opacity expression like this:
cb = comp("Main Comp").layer("Adjustment Layer").effect("Checkbox Control")("Checkbox").value;
if (cb){
if (name == "The Name"){
value;
}else{
0;
}
}else{
value;
}
Dan
 | Re: Checkbox-Expression for Solo-ing Layers in project on Jan 25, 2019 at 2:39:09 pm |
Thank you so very much, Dan!
That helped a lot!