Forum Replies Created

  • Kay Bader

    June 23, 2008 at 8:38 pm in reply to: alter or setting keyframes

    hey,
    that script thing did the trick!
    thank you so much, you saved me a lot of work

  • Kay Bader

    June 23, 2008 at 2:03 pm in reply to: alter or setting keyframes

    hi kevin,

    thanks for your answer. your code creates the correct values as i would need them, but it doesnt really change the keyframes. clicking on them after running the expression still shows the old values. and unfortunatly i need that whole keyframe thing completely working because i have to play around with the interpolation later on. using animation -> keyframe-assistant -> turning expression to keyframes (might not be the correct words, i tried to translate) just puts a keyframe on every frame, so thats still useless too.

    to make it a bit clearer why i want an expression to change the values and why i dont want to do it just manually:
    i have like 10 different videos with 400-500 keyframes each. the keyframes are always on the same position, but each video has different values for them. i have the values i need to enter in a list, that is generated by a java program i wrote. so it would be very easy to modify that list in a way, that i can simply copy and paste it to the expression and have the values written over the keyframes, if i knew the commands. that would be far easier and timesaving than manually typing them in.

  • Kay Bader

    June 22, 2008 at 9:52 pm in reply to: alter or setting keyframes

    thanks for the reply mike,

    i dont think my problem has anything to do with hold frames.

    i meant, that when i try to override existing keyframes by an expression, it doesnt seem to change the value of the keyframe itself.

    i wrote something like:
    if (time == key(1).time [10];
    if (time == key(2).time [20];
    etc…

    what happened was: the interpolation values remained bound to the old keyframe values and only when that specific condition (if (time ==….) was true, the value was as given in the expression. and when taking a look in the diagram view, it showed the keyframes still having their old values.

    i got some basic programming skills, but am completely new to ae expressions, so i dont know if what i am missing the right command words (something like setKey[time,value] would be great) or if it is just not possible to do.

    what i need is some way to create keyframes or override allready existing keyframes using an expression.

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