pymel.core.animation.autoKeyframe

autoKeyframe(*args, **kwargs)

With no flags, this command will set keyframes on all attributes that have been modified since an autoKeyframe -state oncommand was issued. To stop keeping track of modified attributes, use autoKeyframe -state offautoKeyframe does not create new animation curves. An attribute must have already been keyframed (with the setKeyframe command) for autoKeyframe to add new keyframes for modified attributes. You can also query the current state of autoKeyframing with autoKeyframe -query -state.

Flags:
  • characterOption : co (unicode) [create,query,edit]

    Valid options are: standard, all. Dictates whether when auto-keying characters the auto-key works as usual or whether it keys all of the character attributes. Default is standard. Flag can have multiple arguments, passed either as a tuple or a list.

  • state : st (bool) [create,query,edit]

    turns on/off remembering of modified attributes

Derived from mel command maya.cmds.autoKeyframe

Previous topic

pymel.core.animation.applyTake

Next topic

pymel.core.animation.bakeClip

Core

Core Modules

Other Modules

This Page