Page 1 of 1

reading another layers position - but not the expression

Posted: October 8th, 2007, 8:28 am
by jcarruthers
Is there anyway of reading another layers values that are controlled by expressions - but not the actual expression output... the keyframed values themselves?

If I try this the normal way I get the expression value...

At the moment I'm doing this:

Code: Select all

ease(time, 0, 1, thisLayer.transform.position.key(1).value,thisComp.layer(7).transform.position.key(1))
As you can see I have to make a keyframe - which is not ideal...

Any ideas? ;D




James

Re: reading another layers position - but not the expression

Posted: October 8th, 2007, 10:00 am
by Mylenium
jcarruthers wrote:Is there anyway of reading another layers values that are controlled by expressions - but not the actual expression output... the keyframed values themselves?
Nope. You're employing the wrong methodology. If you really need to re-use the position values, use them on a neutral layer (Null object/ invisible layer), then reference all other layers to this layer.

Mylenium

Posted: October 9th, 2007, 4:25 am
by jcarruthers
thanks mylenium - I did momentarily think about that... and it's the right way... I was being lazy :)