This forum has been permanently closed and archived; you can still access all content but can't post anymore.

Of course, you can still join us in other places!
To get support and talk about RxLaboratory and with the team, come here: https://rainboxlab.org/support/

Duplicating Rig Comp breaks links

Rigging, animation, import/export of characters, props and cameras comprehensive tool set for After Effects.
Locked
joechung76

Duplicating Rig Comp breaks links

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

Hello,

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.

example
//Duik.connector
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.

Duduf
Posts: 915
Joined: Mon Jun 20, 2016 2:59 pm

Re: Duplicating Rig Comp breaks links

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

Hi,

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!

Locked