Go to: Synopsis. Return value. Related. Flags. Python examples.
subdMapCut([constructionHistory=boolean], [name=string])
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.| string | The node name. |
In query mode, return type is based on queried flag.
| Long name (short name) | Argument types | Properties | ||
|---|---|---|---|---|
| Common flags | ||||
name(n)
|
string
|
|
||
|
||||
constructionHistory(ch)
|
boolean
|
|
||
|
||||
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 )