Go to: Synopsis. Return value. Related. Flags. Python examples.
subdMirror(
[string]
, [caching=boolean], [constructionHistory=boolean], [name=string], [nodeState=int], [object=boolean], [xMirror=boolean], [yMirror=boolean], [zMirror=boolean])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
subdMirror is undoable, queryable, and editable.
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.
| string[] | The subdivision surface and optionally the dependency node name |
In query mode, return type is based on queried flag.
changeSubdivComponentDisplayLevel, changeSubdivRegion, createSubdivRegion, nurbsToSubdiv, polyToSubdiv, querySubdiv, refineSubdivSelectionList, subdToBlind, subdToPoly, subdiv, subdivCrease, subdivDisplaySmoothness
caching, constructionHistory, name, nodeState, object, xMirror, yMirror, zMirror
| Long name (short name) |
Argument types |
Properties |
xMirror(xm)
|
boolean
|
 
|
|
Mirror the vertices in X
Default: false
|
|
yMirror(ym)
|
boolean
|
 
|
|
Mirror the vertices in Y
Default: false
|
|
zMirror(zm)
|
boolean
|
 
|
|
Mirror the vertices in Z
Default: false
|
|
| Advanced flags |
caching(cch)
|
boolean
|
 
|
|
Modifies the node caching mode. See the node documentation for more information.
Note: For advanced users only.
|
|
nodeState(nds)
|
int
|
 
|
|
Modifies the node state. See the node documentation for more information.
Note: For advanced users only.
|
|
| Common flags |
name(n)
|
string
|
|
|
Name the resulting object
|
|
constructionHistory(ch)
|
boolean
|
|
|
Turn the construction history on or off (where applicable)
|
|
object(o)
|
boolean
|
|
|
Create the result, or just the dep. node (where applicable)
|
|
Flag can appear in Create mode of command
|
Flag can appear in Edit mode of command
|
Flag can appear in Query mode of command
|
Flag can have multiple arguments, passed either as a tuple or a list.
|
import maya.cmds as cmds
# To create a new subd surface mirrored in the X direction.
cmds.subdMirror( 'subdivShape1', xMirror=True )