• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
2

read Effects from selected layer

Community Beginner ,
Mar 29, 2024 Mar 29, 2024

Copy link to clipboard

Copied

Hello! I've been trying to make a script that reads the Effects applied to an AVLayer, and make an exact copy in the root Comp that the layer lives. Eventually the idea would be to connect both effects via expressions. The idea behind this is to be able to promote control of the effects within a Comp to the outside of the comp, that way some things can be tweaked from the outside instead of having to delve into the comp, look for the layer and make the alterations in there. 

 

I;

TOPICS
Expressions , Scripting

Views

125

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 30, 2024 Mar 30, 2024

Copy link to clipboard

Copied

And what exactly is the problem? You only have explained your intentions, not what you are struggling with nor have you provided the actual bits of your code. That said I'm sure there's already existing scripts on AEScripts.com that set up master controllers in parent comps, so this seems redundant, even more so since AE itself has had tools to set up property links with copy&paste for a while.

 

Mylenium

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 30, 2024 Mar 30, 2024

Copy link to clipboard

Copied

LATEST

Thanks for your reply.

 

- I did not provide any code because I feel that sometimes is best just to decribe what you're after and see if someone has already done something similar and start a conversation from there.

- The scripts that I found on AEScripts don't necessarly work the way I described. The closest one that I found is "Drive" but Drive creates a Driver Null and that runs all the extressions through that Null. I don't wish to add more layers to a comp. Feels convoluted.

 

- This idea comes from Houdini. You can "Promote" selected properties from one node/layer to it's root node/precomp. I really don't see the reduncancy here. The point of scripting is to make repetitive tasks like copy paste expressions per channel less of a hustle.

 

- Basically I need to copy the selected effects from an AVLayer to it's parent Comp and link them together. Perhaps this is too mundane for you, but it would make my workflow a lot easier. If you're so kind, would you show me how would you accoplish this in Actionscript?

 

Thank you. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines