Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Toggle comp set up from one state to another state.

  • Toggle comp set up from one state to another state.

    Posted by Antony Dupsta on February 1, 2024 at 12:22 am

    For those who are familiar with C4D, there is a brilliant “take” system. This enables users to toggle between multiple setups inside a main project file.

    For example, in AE, if a user wanted to toggle a composition between the comp setup/output and the RGBmatte setup/output. ( no alpha, just RBG mattes)

    2 different states live in one project file, one to output the beauty comp, the other set up to output RGB mattes. The ladder has fill plug-ins applied, transparencies moving from half to full and a series of color corrections turned off.

    <div>Some solutions I have explored, the expression checkbox method which is tough for 100s of layers, workFlower which may be the ticket? and the expression dropdown menu, but takes a while to set up and does not turn effects on and off?</div><div>

    Any thoughts on setting up a comp that can be toggled to live in two setups, two states?

    All updates to the comp will concatenate over into the matte state.

    So expressions can toggled from one state to a second state, specific effects turned on, layer visibility turned on and off for certain layers, and transparencies set from half now at full. Doing this across a vast comp with hundreds of layers.

    This is typically all done by hand and saved as a new project file. However, if the master matte is updated in one project file this will not ripple through, so trying to keep a two-state toggle solution would be ideal. similar to C4D “takes”

    </div><div>

    </div><div>

    </div>

    Tom Morton replied 5 months, 3 weeks ago 3 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    February 1, 2024 at 1:53 am

    I think it would have to be done with a script, because expressions can’t toggle layer visibility or turn effects on and off (although I guess you could use expressions to control layer opacity and effect opacity in the effect’s compositing options). I’m guessing the script would need to be tailored to your specific workflow, but it sounds do-able (although I’m not familiar with CD4 “takes” so I’m not 100% sure).

  • Tom Morton

    February 1, 2024 at 7:24 am

    Interesting… I use C4D and AFX, familiar with the takes system. I get what you’re saying but also interested in an example where this would be useful – I’m not sure what I would do with it personally.

    If I wanted to do anything like this, I wouldn’t split it out into project files personally, I’d prefer to split it out into different comps within a single project – much easier to manage. I guess my best alternative to the takes system is if I set up the a master comp, scripted out loads of the variables so they could be controlled with expressions, and then tie all the expression controls into a single null layer to make it easy to control from one place.

    Then it would be easy to just duplicate the master comp and make changes in the duplicates very easily using the expression controls.

    Depending on what I was trying to achieve I’d also look at pre-comping a master template that I can use in multiple comps in different ways.

    But ultimately, there’s nothing built in like the takes system in C4D, would definitely recommend keeping all your “takes” in one project as various comps tho, rather than multiple comps.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy