What It Does
DuplicateLayers-n-UpdateExpressions solves a common After Effects problem: when you duplicate a layer that has expressions linking to other layers, those expressions still point to the original layers. This script duplicates your selected layers and automatically rewrites any expressions so they reference the new duplicates instead.
The script also converts relative expression calls (like thisComp) to absolute comp references. This makes it easier to move duplicated layers into different compositions or pre-comps without breaking expression links.
Key Features
Expression updates. When you duplicate a layer, any expressions that referenced other layers in your selection get rewritten to point to the new duplicated versions. No manual find-and-replace needed.
Absolute comp references. The script can convert thisComp calls to absolute composition references. This lets you copy duplicated layers to other comps without expression errors.
Parent hierarchy preservation. Added in v1.6, the script maintains parent-child relationships when duplicating. If your original layers were parented together, the duplicates stay parented the same way.
KBar integration. Version 1.6+ supports KBar with “dupe” or “dupeAbsolute” arguments for faster access.
Who It’s For
Useful for motion designers working with expression-driven rigs or templated animation setups. If you frequently duplicate complex layer structures with expression links, this saves time hunting down broken references.
Compatible with After Effects CS6 through 2025.
Pricing
Pay-what-you-want model. The developer suggests $14.99, but you can choose your own price. Businesses and teams are expected to pay the suggested amount for a valid license. One-time purchase with no subscription.