Go to: Synopsis. Return value. Python examples.

Synopsis

snapshotModifyKeyCtx()

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

Return value

string (name of the new context)

In query mode, return type is based on queried flag.

Python examples

import maya.cmds as cmds

# Create an insert key context
ctx = cmds.snapshotModifyKeyCtx()
cmds.setToolTo(ctx)