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.