Duplicating Rig Comp breaks links

Rigging, animation, import/export of characters, props and cameras comprehensive tool set for After Effects.
Forum rules
Please read these rules and advices before posting.
  • Before you ask any question about a tool, to avoid duplicates, please:
    1. Search for a solution in the available official user guide.
    2. Some video tutorials are available.
    3. Maybe you can find an answer in the frequently asked questions (FAQ).
    4. You can make a search to see if your question has already been asked.
    • Thank you for giving a detailed and precise title to your topics, to help searching in the future.
    • We're very few people to manage this forum, please be patient if we're a bit long to answer.
    • Don't hesitate to answer to other people's questions! The goal of this forum is not only to have the Rainbox team answer users' questions, but to have everyone sharing and helping each other.
    • Finally, please always be polite, and keep in mind that all we want is sharing techniques and knowledge, helping each other.
Post Reply
Posts: 1
Joined: Wed Feb 13, 2019 5:12 pm

Duplicating Rig Comp breaks links

Post by joechung76 » Wed Feb 13, 2019 5:20 pm


I've created a rig and it works perfect. The problem is my team's workflow consists of saving each animation as a comp. We use to do this by duplicating the rig comp, renaming it "henryRig_walkCycle", so on. The problem is that using the connector from duik the expression is pointing to a specific layer and is not dynamic. It does not change with the newly duplicated comp with the new name, it points to the original comp in the original rig comp.

var ctrlLayer = comp("henryRig_fv_v03").layer("eye_cntrl");
var ctrlValue = ctrlLayer.effect("eye_expression")(1);

now if you don't duplicate and you just rename the rig comp "henryRig_fv_v03" to any other name then after effects knows to update the code with the name. It's only if you duplicate the rig that it does not update to the new name but points to the existing comp in the original rig.

I hope I am making sense. Is there any way around this? We would like to save separate animations in the same project file by using multiple rig comps.

This mostly breaks with face rig, hand slider, etc. Anything that is buried within several comps since it needs to link to an outer comp.

User avatar
Posts: 618
Joined: Mon Jun 20, 2016 2:59 pm

Re: Duplicating Rig Comp breaks links

Post by Duduf » Thu Feb 14, 2019 3:27 pm


Yes unfortunately this issue with expressions in Ae is a real pain... BUT the awesome Lloyd Alvarez made a script for this ;) True Comp Duplicator will duplicate a comp AND its nested precomps AND update the expressions!

Post Reply