Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions How can i add an Expression to define OutRender Point like the tag with letter “N”?

  • How can i add an Expression to define OutRender Point like the tag with letter “N”?

    Posted by Adrián Wulfrath on March 23, 2016 at 10:27 pm

    Actually i want to create a dropdown menu to select different comps and activate / deactivate the selected comp. But the problem is that each comp, have different render frames, and i want to define the OUT Render time with an expression when i select that comp in the dropdown menu.

    For example: DROPDOWN MENU: COMP 1, COMP 2, COMP 3.

    COMP 1 have 200 frames for render and the output in render i need is exactly that 200 frames

    COMP 2 have 500 frames for render and the output in render exactly 500 frames.

    bla bla bla ETC.

    Pls help.

    Any idea????

    Adrián Wulfrath replied 10 years, 1 month ago 2 Members · 10 Replies
  • 10 Replies
  • Miguel De mendoza

    March 25, 2016 at 10:32 am

    You can calculate the number of frames of each comp like this:

    var curCompFrames = curComp.duration/curComp.frameDuration;

  • Adrián Wulfrath

    March 28, 2016 at 10:02 pm

    But where i apply that Expression???

  • Miguel De mendoza

    March 29, 2016 at 10:47 am

    How are you creating the dropdown menu?

  • Adrián Wulfrath

    March 29, 2016 at 11:24 pm

    im just turn on / off different comps in the dropdown menu, but each comp have different number of frames, so when i select one option in the dropdown menu i want to change the in/out render trim (i dont know what is the name of that render bar).

  • Miguel De mendoza

    March 29, 2016 at 11:47 pm

    It’s a little confusing what are you trying to achieve. What “dropdown menu” are you talking about? In advance I can tell you that you can only change the in/out point of the work area by hand or by script, not by expressions. If you can give more info about your project, maybe I can help 😉

  • Adrián Wulfrath

    March 30, 2016 at 12:13 am

    Ok, here is the .AEP 9930_test.aep.zip

    I want to change the render time depending on the dropdown menu selection.

  • Miguel De mendoza

    March 30, 2016 at 12:22 am

    The file give me a message of a missing effect called “Dropdown”, I never heard about that effect/plugin and I cant’t find anithing about it on the web, so I can¡’t help you with that effect. What I can tell you is that if that effect dont have that trim functionality you must go on scripting.

  • Adrián Wulfrath

    March 30, 2016 at 12:23 am

    That effects its a pseudo effect, the missing alert doesnt matter because as you can see that effects is working perfectly.

  • Miguel De mendoza

    March 30, 2016 at 12:30 am

    Yes, I can see is a script generated dropdown menu, that simply changes the opacity of the layers by a expression on such property, so you cant achieve what you are trying because YOU CAN’T CHANGE THE IN/OUT points of the work area by expressions.

  • Adrián Wulfrath

    March 30, 2016 at 12:36 am

    well thank you anyway. NP, but is there an expression to trim?? or otherway to resolve that?

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