FORUMS: list search recent posts

Is a layer's startTime set in stone upon creation?

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Christian Geijer
Is a layer's startTime set in stone upon creation?
on Jun 8, 2018 at 8:41:04 am

I got a question from my colleague that does some scripting in After effects on templates that I've made regarding startTime that I got stumped by.
I've tried googling but apparently my google-fu isn't good enough.

My question is this: Is the startTime of a layer set just once - when the layer is created - and never updated after that? How does startTime even work?

I've tried to illustrate what i mean.
Here I have created a solid that is two seconds long. Above that I have a text layer with the expression seen in the timeline. The solid has a startTime of 0.


When I drag the layer to the right the startTime updates accordingly. Seems to work as expected.


But if I shorten the layer by dragging the left side to the right, the startTime stays the same?


And if I move the layer to the beginning of the composition the startTime updates again to a completely different time.


What exactly is deciding the startTime of a layer? It seems like it has saved the original startTime from when the layer was created, and just locked that in place. We initially had this issue with an imported video file, but it also works on solids, that's why I used that in my example. Is it possible to somehow extract the original startTime on a layer, even if the layer has been moved and/or trimmed? Is there some way to "clear" the startTime or force an update? How does this even work?

/C


Return to posts index

Cassius Marques
Re: Is a layer's startTime set in stone upon creation?
on Jun 8, 2018 at 12:12:36 pm
Last Edited By Cassius Marques on Jun 8, 2018 at 12:14:38 pm

You're trimming the layer. By trimming you're not changing its start position, just it's visibility during that time. To change it's start Point, use the Y tool, click over the layer and drag...

Cassius Marques
http://www.zapfilmes.com


Return to posts index

Kalleheikki Kannisto
Re: Is a layer's startTime set in stone upon creation?
on Jun 8, 2018 at 2:47:09 pm

At the end of this thread, there is a script to reset the start time for a layer:

https://forums.creativecow.net/thread/2/1112192

Kalleheikki Kannisto
Senior Graphic Designer


Return to posts index


Christian Geijer
Re: Is a layer's startTime set in stone upon creation?
on Jun 11, 2018 at 7:55:43 am

Great stuff! Thank you for your help!

/C


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 CreativeCOW.net All Rights Reserved
[TOP]