This command creates a context which may be used to scale keyframes within the graph editor
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 | ||
|
|||
scaleSpecifiedKeys (ssk) | bool | ||
Determines if only the specified keys should be scaled. If false, the non-selected keys will be adjusted during the scale. The default is true.Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list. |
|||
type (typ) | unicode | ||
|
Derived from mel command maya.cmds.scaleKeyCtx
Example:
import pymel.core as pm
# Create a manipulator style scale key context for the graph editor
#
pm.scaleKeyCtx( 'scaleKeyContext', type='rect' )