Forum Replies Created

Page 1 of 3
  • Nathaniel Logan

    August 26, 2020 at 10:39 am in reply to: Reversing After Effects Expression Value

    Thanks!

  • AE will accept only one Interface at one instance that is specified in manifest.xml even though if you achieve to load the other extension it will be considered as a popup which you will not be able to dock the window.

    Although I’m not saying it’s not possible Animation Composer has similar instances as you say, but it’s a plugin built on C++.

    I did notice the latest plugin of “Motion Factory” has multiple window for one extension you could analyse thier source code to get the idea.

    You could use react.js to build the plugin which is much handy in handling routes & state.

  • Nathaniel Logan

    February 27, 2020 at 1:03 am in reply to: Find and Replace the item from bin to comp.

    Hi Dan,

    Thank you so much, works like charm. ☺

    I see, the preview messed up the for loop. I will avoid that. 🙂

  • Nathaniel Logan

    February 27, 2020 at 12:29 am in reply to: Find and Replace the item from bin to comp.

    Hi Dan,

    Sorry to bother, I tried to edit the script to find the comp, but im getting an error.

    line 28. Function compName.layer is undefined.

    Please check the code that I modified.

    Pls help 🙁

    function getItem(theName){
    for (var i =1; i <= app.project.numItems; i++){
    if ((app.project.item(i)) && (app.project.item(i).name == theName)){
    return app.project.item(i);
    }
    }
    return null;
    }

    function findComp(theName){
    for (var i =1; i <= app.project.numItems; i++){
    if ((app.project.item(i) instanceof CompItem) && (app.project.item(i).name == theName)){
    return app.project.item(i);
    }
    }
    return null;
    }

    function replaceFile(){

    var setCompName = findComp(compName);
    var compName = "mycomp"
    var myLayer = compName.layer('pink.png');
    var itemName = "blue.png";
    var myItem = getItem(itemName);
    if (myItem == null){
    alert("Can't find item '" + itemName + "'.");
    return;
    }
    myLayer.replaceSource(myItem,false);
    }
    replaceFile();

  • Nathaniel Logan

    February 27, 2020 at 12:08 am in reply to: Find and Replace the item from bin to comp.

    Hi Dan,

    Thank you so much, you’re the best ☺
    Exactly what I was looking for.

    Just one thing what if my comp is not active but I know my comp name how do I specify my comp name =|

    Thank you in advance.

  • Nathaniel Logan

    February 19, 2019 at 9:43 am in reply to: Link Current value of parent position to Child layer

    Hello, Dan any suggestions on this,

    Is it possible to use the Point control / Slider control to achieve this?

    Please help me with this one. I’m really quite stuck on this 🙁

  • Nathaniel Logan

    February 19, 2019 at 8:32 am in reply to: Link Current value of parent position to Child layer

    For reference Attaching the Screenshot of how I wanted, please help me on this Dan, I really stuck and don’t know how to make this work.

    or is there any other way to approach this please let me know will try that,

  • Nathaniel Logan

    February 19, 2019 at 7:54 am in reply to: Link Current value of parent position to Child layer

    So what im trying to do is, Animate a Character from its initial position which will be a loop, and then pre-comp the Character and connect the character to a null layer which has the position animation from left to center(Later i will also animate the position from right to center as a different animation ) and then I want to use a marker to trigger the Position from left to center.

    I did also try using the below script on the Null layer where the position is animated :

    L= comp(“MainComp”).layer(“Character Walk”);
    p = thisLayer.transform.position.valueAtTime(time-L.marker.key(“CharacterRun In”).time);

    and then I used this in the position of the Character Walk Layer :

    p = thisComp.layer(“Null 1”).transform.position;
    delta = value – p.valueAtTime(0);
    p + delta;

    The above expression works perfectly fine but the animation starts from characters initial position which is the center of the comp and moves to the right, instead is it possible to make the animation start from the Null 1 layer initial position which is from left to the center of the comp

    Can you help me on this, please 🙂

  • Nathaniel Logan

    February 19, 2019 at 7:27 am in reply to: Link Current value of parent position to Child layer

    Hello Dan,
    Thanks for quick response.

    Any other approach will that take to achieve this, please im totally stuck at this point 🙁

  • Nathaniel Logan

    February 19, 2019 at 3:40 am in reply to: Link Current value of parent position to Child layer

    Hi Dan,

    Stuck with a small thing for the same expression:

    p = thisComp.layer(“Null 1”).transform.position;
    t = p.key(p.numKeys).time
    delta0 = valueAtTime(0) – p.valueAtTime(t);
    delta = value – valueAtTime(0);
    p + delta0 + delta

    Was trying to create a marker Name “RunCycle Start” and connect the above script to the marker but i failed on it can you please help me on this is it possible to do so :
    I was trying the below script but it doesn’t work

    if (marker.numKeys > 0 && time > marker.key(“RunCycle Start”).time){

    expression

    }else{

    value

    Can you pls help

    Thank you so much,
    Much Appreciated

Page 1 of 3

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