I created a small script for After Effects that allows to quickly parent all selected layers to a new Null layer which is automatically centered around selected layers. Layers that are already parented will not be touched (useful if you are parenting whole hierarchy – then script will only parent top parent layers).
Null layers in and out points will be set to mach the total range of all selected layers.
Also there is an option to lock selected layers after parenting.
As always – you must have your comp selected in project window. That’s the limitation of AE scripting.
How to use:
1. Download the parent_selected_v01 and save it in the After Effects / Support Files / Scripts / ScriptUI Panels
2. Start the After Effects and search for parent_selected_v01 in the bottom of Window menu
3. Select your layers (and comp in project window)
4. Go to town with your new parent null!