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

05 May 2012, 09:07 AM

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 ))

05 May 2012, 05: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 May 2012, 05: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.