Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Controlling the timeline using script

  • Controlling the timeline using script

    Posted by Nguyễn Quang on September 5, 2012 at 1:18 pm

    Hello there!

    I need to get the global transformation data of all parent layers and child layers in my composition, in order to use them for another tool.

    I notice that, in After Effects, at any frame I’m navigating on, when I remove the parent of a child layer, the child layer just change its position to global without changing it’s position, rotation and scale.

    So I want to make use of this to get the global transformation data of the layer. After that I can re-parent it again, and go to the next frame, and do it again until end.

    The problem is that, when I use a script to do so, the un-parent and re-parent actions always take into account the only one last navigated frame before running the script. Therefore I need to roll over the timeline frame by frame during the running of my script. Is there a way to do so?

    Regards,
    Quang Ng.

    Nguyễn Quang replied 13 years, 10 months ago 1 Member · 1 Reply
  • 1 Reply
  • Nguyễn Quang

    September 8, 2012 at 10:59 am

    Never mind. I had found out the solution.

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