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.
Flags:
Long Name / Short Name | Argument Types | Properties | |
---|---|---|---|
caching / cch | bool | ![]() ![]() ![]() |
|
|
|||
constructionHistory / ch | bool | ![]() |
|
|
|||
frozen / fzn | 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 )