Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions valueAtTime preexpression bug when used on paths?

  • valueAtTime preexpression bug when used on paths?

    Posted by Arne Münch on June 21, 2020 at 12:44 pm

    Hello there

    valueAtTime(time, preExpression) in scripting seems not to work when used on paths. The preExpression parameter acts always like it is false.
    Can you please try for me, I tested on cc2018 and cc2020 and this script creates a keyframe after calculating the expression, so the original path has changed, but this shouldn´t happen:

    var actItem = app.project.activeItem;
    var selProps = actItem.selectedProperties;
    selProps[1].setValueAtTime(0, selProps[1].valueAtTime(0,true))

    For testing purposes you can just use this expression on a path and test if the script changes the original preExpression path (by selecting the path property and running the script), which it shouldn´t.

    originalPath = thisProperty;
    createPath([[-100,0] , [100,0]] , [] , [] , originalPath.isClosed());

    https://www.instagram.com/arnemuench/

    Arne Münch replied 5 years, 10 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

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