Go to: Synopsis. Return value. Flags. MEL examples.

Synopsis

subdMapSewMove [-caching boolean] [-constructionHistory boolean] [-limitPieceSize boolean] [-name string] [-nodeState int] [-numberFaces int] [-worldSpace boolean] selectionList

subdMapSewMove is undoable, queryable, and editable.

This command can be used to Move and Sew together separate UV pieces along geometric edges. UV pieces that correspond to the same geometric edge, are merged together by moving the smaller piece to the larger one.


The argument is a UV selection list.

Return value

stringThe node name.

In query mode, return type is based on queried flag.

Flags

caching, constructionHistory, limitPieceSize, name, nodeState, numberFaces, worldSpace
Long name (short name) Argument types Properties
Common flags
-constructionHistory(-ch) boolean create
Turn the construction history on or off.
-limitPieceSize(-lps) boolean createqueryedit
When on, this flag specifies that the face number limit described above should be used.
-name(-n) string create
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.
-numberFaces(-nf) int createqueryedit
Maximum number of faces in a UV piece. When trying to combine two UV pieces into a single one, the merge operation is rejected if the smaller piece has more faces than the number specified by this flag.
This flag is only used when limitPieceSize is set to on.
-worldSpace(-ws) boolean createqueryedit
If true, performs the operation in world space coordinates as opposed to local space.
Advanced flags
-caching(-cch) boolean createqueryedit
Modifies the node caching mode. See the node documentation for more information.
Note: For advanced users only.
-nodeState(-nds) int createqueryedit
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 be used more than once in a command.

MEL examples

// Create a subd sphere with default UVs.
createSubdSphere;

// Automatic projections with 6 planes.
subdAutoProjection "subdivSphere1.smf[*][*]";

// Select the seams
select subdivSphere1.sme[0:1][67108864] subdivSphere1.sme[256][67108867] subdivSphere1.sme[513][67108864];

// merge them, with the appropriate move.
subdMapSewMove;