Go to: Synopsis. Return value. Related. Flags. Python examples.
subdMapCut([caching=boolean], [constructionHistory=boolean], [name=string], [nodeState=int])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
subdMapCut is undoable, queryable, and editable.
Cut along edges of the texture mapping. The cut edges become map borders.
In query mode, return type is based on queried flag.
polyClipboard, polyCylindricalProjection, polyEditUV, polyForceUV, polyMapDel, polyMapSew, polyMoveFacetUV, polyMoveUV, polyPlanarProjection, polyProjection, polySphericalProjection, polyUVSet, untangleUV
caching, constructionHistory, name, nodeState
| Long name (short name) |
Argument types |
Properties |
|
| Common flags |
constructionHistory(ch)
|
boolean
|
|
|
Turn the construction history on or off.
|
|
name(n)
|
string
|
|
|
Sets the name of the newly-created node. If it contains
namespace path, the new node will be created under the
specified namespace; if the namespace does not exist, it
will be created.
|
|
| 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.
|
|
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
# Opening up the textureView will make this example much easier to visualize.
# Create a cube
mel.eval( "createSubdCube" )
# Cut the map.
cmds.subdMapCut( 'subdivCube1.sme[2560][2]', 'subdivCube1.sme[2816][2]' )
# now that it's cut, we may move the row separately
# Move some UVs
cmds.subdEditUV( 'subdivCube1.smm[21:22]', 'subdivCube1.smm[25]', u=0, v=0.05 )