PDA

View Full Version : MFnTransform::setTranslation without setting keys when AutoKeyframe=On.


artberry
05-28-2012, 10:07 AM
Hi!

Is it possible to set transformation on a transform without setting keyFrame when autoKeyframe is On? I trying MFnTransform::setTranslation, but if autoKeyfame=On, transform node get a keys. It is undesirable. Is there are methods to workaround it?

Thanks ))

ShawnFrueh
05-31-2012, 06:50 PM
Try this:


autoKeyframe -state false;

setAttr object.translateX 4;

autoKeyframe -state true;

Basically just toggle on and off the autokey.

CGTalk Moderation
05-31-2012, 06:50 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.