pymel.core.context.srtContext — PyMEL 1.0.7 documentation

pymel.core.context.srtContext

srtContext(*args, **kwargs)

This command can be used to create a combined transform (translate/scale/rotate) context.

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.srtContext

Example:

import pymel.core as pm

# To see if an srtContext named "Transform" exists:
pm.srtContext( 'Transform', q=True, exists=True )
# Result: True #