Forum Replies Created

  • Tommy Gury

    October 25, 2015 at 10:24 pm in reply to: Reach Composition Effect

    So this is the way i choose:

    I have this expression in the subComp anchor point property:

    x=3000
    if( comp(“Master”).layer(thisComp.name).effect(“TopLayer”)(“Checkbox”)== 1 ) y = 0 else y = 1080;

    [x,y]

    With this solution, I have to name all the subCompositions with the same name of the mainComps they refereed to but it’s actually not a problem for me in here.

    Thanks Kalle, I figured out i was unclear, the layer with the checkbox is a comp(mainComp) and contain another composition (the subComp), it’s not a layer with just the checkbox in. But your reply make me think to another approach.

    Have a nice day

    Tommy

  • Tommy Gury

    October 25, 2015 at 9:19 pm in reply to: Reach Composition Effect

    In fact, i’m using these checkbox cause i’m making a AE template which will be reused many times.

    To explain what I have in mind:

    Consider that I want to invert the anchor point position of my sub pre-comp if the checkbox is activated on the layer in the master comp.
    But my 500 layers aren’t necessary actived all the time, but if the user want 20 layers, so he can, and he can invert the anchor point position on each layer he want too.

    I didn’t realized i could use a layer control fr that. I will figured something.

    Thanks again for your precious reply.

    Tommy

  • Tommy Gury

    October 24, 2015 at 10:45 pm in reply to: Reach Composition Effect

    Hello Kalle,

    Thanks a lot for your message.

    This my flowchart:

    -> Master
    ->Comp1 (with checkbox1)
    ->CompA
    ->Comp2 (with checkbox2)
    ->CompB
    ->Comp3 (with checkbox3)
    ->CompC
    ->Ect

    In my case, I would like to duplicate Comp1 in the project windows to have Comp2,Comp3,ect
    And each anchorpoint is related to the checkbox in its “hierarchy-1” Comp.

    So for now, this expression works:
    if(comp(“Master”).layer(“Comp1”).effect(“EffectName”)(“Checkbox”) == 1 ) y = 0 else y = 1080;

    But since I call layer.”Comp1″, when I duplicate Comp1 (in the project window), each pre-Comp (A,B,C…) will all be related to the checkbox in Comp1 and not Comp2,3,ect.

    My temporary solution is , as you said, to put all the checkbox in the same layer (using Numlayer operations, put it’s not the most readable and it’s kinda messy in here. It’s would be great to have each checkbox in the corresponding layer.

    I’m looking for a way to call a value that is located in a layer in a hiearachy-1 level. I know this hiearachy-1 thing is unclear but I’m not sure how I should call it.

    Anyway, thanks for your time. If you have any idea, your can save my week 🙂

    Tommy

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy