pymel.core.context.snapshotModifyKeyCtx — PyMEL 1.0.7 documentation

pymel.core.context.snapshotModifyKeyCtx

snapshotModifyKeyCtx(*args, **kwargs)

Creates a context for inserting/delete keys on an editable motion trail

Flags:

Long Name / Short Name Argument Types Properties
exists / ex bool  
   
history / ch bool  
   
image1 / i1 unicode  
   
image2 / i2 unicode  
   
image3 / i3 unicode  
   
name / n unicode  
   

Derived from mel command maya.cmds.snapshotModifyKeyCtx

Example:

import pymel.core as pm

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