Activity › Forums › Adobe After Effects › Any way to replace a layer's solid source ?
-
Any way to replace a layer's solid source ?
Posted by Martin Dumas on January 23, 2023 at 4:50 amI only need one solid for my project. Currently, all my layers are using a different solid. Is it possible to change the layer’s solid source, either via UI or script ?
Walter Soyka replied 3 years, 3 months ago 3 Members · 4 Replies -
4 Replies
-
Dan Ebberts
January 24, 2023 at 1:30 amMaybe just Alt+drag from the Solids folder in the Project panel onto the layer?
-
Martin Dumas
January 24, 2023 at 2:46 amEww. So easy 🙂
I failed to realize that the layer needs to be selected.
Thanks !Do you know how to do it by script ?
-
Dan Ebberts
January 24, 2023 at 5:02 amIt depends on how you want to do it exactly. Here’s an example that replaces layer Solid 2’s source with layer Solid 1’s source:
var myComp = app.project.activeItem;
var source = myComp.layer("Solid 1").source;
myComp.layer("Solid 2").replaceSource(source,false); -
Walter Soyka
January 24, 2023 at 7:16 pmDan has mentioned how to swap sources inside a comp, but you can also do this across the entire project in the Project panel. Select the item/solid that you want to keep, hold Alt, and drag it onto the item/solid that you want to be replaced. Every instance of the second item throughout the entire project will be replaced with the first.
Reply to this Discussion! Login or Sign Up