The command creates a create/draw joint context. The context allows the user to quickly create mirrored joint chains.
| Long name (short name) | Argument Types | Properties | |
|---|---|---|---|
| axis (a) | unicode |
|
|
Specifies the axis to mirror. Valid strings are x, y, and z. C: The default is x.Q: When queried, this flag returns a string. Flag can have multiple arguments, passed either as a tuple or a list. |
|||
| exists (ex) | bool |
|
|
|
|||
| image1 (i1) | unicode |
|
|
| image2 (i2) | unicode |
|
|
| image3 (i3) | unicode |
|
|
|
|||
Derived from mel command maya.cmds.createDrawCtx
Example:
import pymel.core as pm
# Create a createDrawContext with mirroring of the x axis and
# use the tool.
#
pm.createDrawCtx( 'myCreateDrawContext', axis='x' )
# Result: u'myCreateDrawContext' #
pm.setToolTo( 'myCreateDrawContext' )