pymel.core.modeling.subdMirror¶
- subdMirror(*args, **kwargs)¶
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 Modifies the node caching mode. See the node documentation for more information. Note:For advanced users only. constructionHistory / ch bool Turn the construction history on or off (where applicable). frozen / fzn bool name / n unicode Name the resulting object. nodeState / nds int Modifies the node state. See the node documentation for more information. Note:For advanced users only. Flag can have multiple arguments, passed either as a tuple or a list. object / o bool Create the result, or just the depend node (where applicable). Advanced flags xMirror / xm bool Mirror the vertices in X Default:false yMirror / ym bool Mirror the vertices in Y Default:false zMirror / zm bool Mirror the vertices in Z Default:false Common flags 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 )