This command takes a subdivision surface, passed as the argument, and produces a subdivision surface that is a mirror. Returns the name of the subdivision surface created and optionally the DG node that does the mirroring.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
caching (cch) | bool | ||
|
|||
constructionHistory (ch) | bool | ||
|
|||
name (n) | unicode | ||
|
|||
nodeState (nds) | int | ||
|
|||
object (o) | bool | ||
|
|||
xMirror (xm) | bool | ||
|
|||
yMirror (ym) | bool | ||
|
|||
zMirror (zm) | bool | ||
|
Derived from mel command maya.cmds.subdMirror
Example:
import pymel.core as pm
# To create a new subd surface mirrored in the X direction.
pm.subdMirror( 'subdivShape1', xMirror=True )