Go to: Synopsis. Flags. Return value. Related. Python examples.

Synopsis

polyMapSew([constructionHistory=boolean], [name=string])

Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.

polyMapSew is undoable, queryable, and editable.

Sew border edges in texture space. Selected edges must be map borders.

Flags

constructionHistory, name
Long name (short name) [argument types] Properties
name(n) string create
Name the resulting object.
constructionHistory(ch) boolean createquery
Turn the construction history on or off (where applicable).
Q: When queried, this flag returns an int.

In query mode, this flag needs a value.


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.

Return value


string The node name.

Related

polyClipboard, polyCylindricalProjection, polyEditUV, polyForceUV, polyMapCut, polyMapDel, polyMoveFacetUV, polyMoveUV, polyPlanarProjection, polyProjection, polySphericalProjection, polyUVSet, untangleUV

Python examples

import maya.cmds as cmds

#Opening the texture view will make this example much clearer.

#Create a plane and select it.
cmds.polyPlane( n='plg', sx=5, sy=5, w=10, h=10 )
cmds.select( 'plg' )

#Display map borders.
cmds.polyOptions( ao=True, dmb=True )

#Cut the map.
cmds.polyMapCut( 'plg.e[44]', 'plg.e[46]', 'plg.e[48]', 'plg.e[50]', 'plg.e[52]' )

#Move the row
cmds.polyMoveUV( 'plg.map[24:28]', 'plg.map[30:35]', 'plg.map[37]', t=(0.0, 0.5 ))

#Now sew some border edges
cmds.polyMapSew( 'plg.e[44]', 'plg.e[46]', 'plg.e[48]' )