Go to: Synopsis. Return value. Keywords. Related. Flags. Python examples.
polyUniteSkinned([centerPivot=boolean], [constructionHistory=boolean], [mergeUVSets=int], [objectPivot=boolean])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
polyUniteSkinned is undoable, queryable, and editable.
Command to combine poly mesh objects (as polyUnite)
while retaining the smooth skinning setup on the
combined object.
None
In query mode, return type is based on queried flag.
skinCluster, poly
polyUnite
centerPivot, constructionHistory, mergeUVSets, objectPivot
Long name (short name) |
Argument types |
Properties |
centerPivot(cp)
|
boolean
|
|
|
Set the resulting object's pivot to the center of the selected objects bounding box.
|
|
constructionHistory(ch)
|
boolean
|
|
|
Turn the construction history on or off.
|
|
mergeUVSets(muv)
|
int
|
|
|
Specify how UV sets will be merged on the output mesh.
The choices are 0 | 1 | 2.
0 = Do not merge. Each UV set on each mesh will become a new UV set in the output.
1 = Merge by name. UV sets with the same name will be merged.
2 = Merge by UV links. UV sets will be merged so that UV linking on the input meshes continues to work.
The default is 1 (merge by name).
|
|
objectPivot(op)
|
boolean
|
|
|
Set the resulting object's pivot to last selected object's pivot.
|
|
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
cmds.polyUniteSkinned( 'pSphere1', 'pSphere2', ch=0 )