Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Updating loads of pointers in expressions

  • Updating loads of pointers in expressions

    Posted by David Uebergang on February 24, 2016 at 1:05 am

    G’day,

    I have a comp with loads of solids, each with expressions pointing to a specific controller layer in another comp. Is there a quick way to update all these so that they point to another controller layer? ie. All my expressions are pointing to a layer called “Controls green x” in the “Final Output” comp when I want them to point to a layer called “Controls green y” in the same comp.

    Maybe there’s a free find and replace plugin for this?

    THanks,

    David

    seedRandom(comp("Final Output").layer("Controls green x").effect("Random Seed")("ADBE Slider Control-0001"), true);

    David Uebergang replied 10 years, 2 months ago 2 Members · 4 Replies
  • 4 Replies
  • Eduardo Oliveira

    February 24, 2016 at 6:58 pm

    seems to me that if you just rename the layer “control green y” to “control green x” and delete the old one/rename it, then they would automatically point to the new one… am i wrong?

  • David Uebergang

    February 25, 2016 at 3:12 am

    Woops I forgot to mention that I have duplicated this shape comp, and I want each of them to point to different controllers. So I need a way to change all the pointers in one comp without changing the pointers in the duplicate of that comp.

  • Eduardo Oliveira

    February 25, 2016 at 12:49 pm

    with a little bit of manual work, you can do it.
    first, move the controller null inside the comp with the solids.
    now the manual labor part = relink the solids to the null inside the same comp

    then duplicate the controller null onto the comp wich will be having the controllers.
    make the original null(inside the comp with the solids) get all the relevant stuff from the one outside that comp.

    now, when you duplicate the comp with the solids, all you have to do is change the target of the controlling null inside that comp….

    sorry, i know that still involves a lot of manual changes – but at least if you need to replicate that a few times, it will save you some work

  • David Uebergang

    February 25, 2016 at 11:39 pm

    Yep I see what you’re saying and that’d work. I did a lesser solution – yours would also allow me to control all the comps with the one controller. I just moved the controller inside the solid comp and changed the pointers to thisComp.layer(“Controller”) so that when I duplicate the comps the expressions are always pointing to the controller inside of their own comp. However I didn’t do them all as there are 25 layers with 5 expressions each and it’s tedious to change. I just wanted to test it’d work.

    Still I reckon there’s a better way of doing it, frustrating but I can let it go!

    Thanks Eduardo.

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