View Full Version : how to add an expression?
anyone know how to add an expression to an item that already have some keyframes on it?
10-25-2004, 04:39 PM
create new expression:
<object>.<attribute>=<animcurve>.outValue + <expression>
i still get the same error message:
// Error: Attribute already controlled by an expression, keyframe, or other connection: obj.rotateZ //
this is an example of what i'm tryng to do:
float $cT = `currentTime -q`;
obj1.rotateZ = obj1_rotateZ.output + `getAttr -t $cT obj2.rotateZ`;
what i'm doing wrong?
thank you very much for your help :)
10-25-2004, 06:35 PM
You first will need to break the connection between the attribute and your AnimCurve. Just make sure you don't accidentally delete the curve itself. Best way is delete the connection in the Hypergraph. Then your expression will work fine.
thank you so much Ronald :)
01-19-2006, 04:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2015, Jelsoft Enterprises Ltd.