Skip to main content
Carlmad13
Participating Frequently
June 2, 2022
Answered

copy or move to select precomp Automation Blocks ?

  • June 2, 2022
  • 1 reply
  • 374 views

I'm testing this tool recently Automation Blocks which I find great, "copy as guide to all precomps" is awesome. I was wondering if it is possible to create a block script like "Copy as guide to selected precomps". it's possible? or maybe "copy or move to selected precomps" the idea is to copy or move a layer or a comp to a group of selected comps

 

thanks!

This topic has been closed for replies.
Correct answer Mathias Moehl

That's a very good suggestion, Carl!

The main challenge I see is that for the current version of "copy as guide to all precomps", you need to select the layers which you want to copy. Hence, the tool needs to be able to distinguish somehow, which layers are the ones that you want to copy and which are the precomps to which you wanto to copy them.

 

Solution 1)

We could split the selected layers into the ones that are precomps and the ones that are no precomps. Then we copy only the latter. However, this would make it impossible for you to copy a precomp to all other precomps. Also then it is rather unclear how to deal with precomps inside other precomps (should we not copy to them at all, or to all of them or again only to the ones that are selected?).

Solution 2)
Instead of limiting the precomps to only selected ones, we could limit to only precomps that are not lockled. That would mean before running the tool, you simply lock the precomp layers which you don't want to process.

In this video I show how to implement solution 2:

The extended version of the tool with the locked precomps option will be included in the next beta update 🙂

1 reply

Mathias Moehl
Community Expert
Mathias MoehlCommunity ExpertCorrect answer
Community Expert
June 2, 2022

That's a very good suggestion, Carl!

The main challenge I see is that for the current version of "copy as guide to all precomps", you need to select the layers which you want to copy. Hence, the tool needs to be able to distinguish somehow, which layers are the ones that you want to copy and which are the precomps to which you wanto to copy them.

 

Solution 1)

We could split the selected layers into the ones that are precomps and the ones that are no precomps. Then we copy only the latter. However, this would make it impossible for you to copy a precomp to all other precomps. Also then it is rather unclear how to deal with precomps inside other precomps (should we not copy to them at all, or to all of them or again only to the ones that are selected?).

Solution 2)
Instead of limiting the precomps to only selected ones, we could limit to only precomps that are not lockled. That would mean before running the tool, you simply lock the precomp layers which you don't want to process.

In this video I show how to implement solution 2:

The extended version of the tool with the locked precomps option will be included in the next beta update 🙂

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects
Carlmad13
Carlmad13Author
Participating Frequently
June 2, 2022

Thank you very much for the quick answer! I have tried it right now and the second option works perfectly, thanks for the video too, it was perfectly understood. This tool is a huge step forward for creators who want to automate things but don't know much about code. The only detail I have is when the selected layer is a comp, when I run the script I get an after effects warning about circular reference and it creates a placeholder inside the selected comp, but it's not a big deal for me because it only I go to the project panel and delete the placeholder file and that's it.

So thank you very much!