This command creates a context which may be used to scale keyframes within the keyframe region of the dope sheet 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.keyframeRegionScaleKeyCtx
Example:
import pymel.core as pm
import maya.cmds as cmds
# Create a manipulator style scale key context
# for the dope sheet editor
#
pm.keyframeRegionScaleKeyCtx( 'keyframeRegionScaleKeyContext', type='rect' )