pymel.core.modeling.subdMapCut

subdMapCut(*args, **kwargs)

Cut along edges of the texture mapping. The cut edges become map borders.

Flags:

Long Name / Short Name Argument Types Properties
caching / cch bool ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
  Modifies the node caching mode. See the node documentation for more information. Note:For advanced users only.
constructionHistory / ch bool ../../../_images/create.gif
  Turn the construction history on or off.
frozen / fzn bool  
   
name / n unicode ../../../_images/create.gif
  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
nodeState / nds int ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
  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.

Derived from mel command maya.cmds.subdMapCut

Example:

import pymel.core as pm

# Opening up the textureView will make this example much easier to visualize.

# Create a cube
mel.eval( "createSubdCube" )

# Cut the map.
pm.subdMapCut( 'subdivCube1.sme[2560][2]', 'subdivCube1.sme[2816][2]' )
# Result: [nt.SubdMapCut(u'subdMapCut1')] #
# now that it's cut, we may move the row separately

# Move some UVs
pm.subdEditUV( 'subdivCube1.smm[21:22]', 'subdivCube1.smm[25]', u=0, v=0.05 )