Go to: Synopsis. Return value. Python examples.
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
snapshotModifyKeyCtx is undoable, queryable, and editable.Creates a context for inserting/delete keys on an editable motion trail
|string||(name of the new context)|
In query mode, return type is based on queried flag.
import maya.cmds as cmds # Create an insert key context ctx = cmds.snapshotModifyKeyCtx() cmds.setToolTo(ctx)