Go to: Synopsis. Flags. Return value. Related. Python examples.
polyUnite(
poly1 poly2 [poly3 ...]
, [constructionHistory=boolean], [name=string], [object=boolean])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
polyUnite is undoable, queryable, and editable.
This command creates a new poly as an union of a list of polys
If no objects are specified in the command line, then the
objects from the active list are used.
constructionHistory, name, object
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.
|
string[] Object name and node name.
polyBoolOp, polySeparate
import maya.cmds as cmds
cmds.polySphere( n='plg1' )
cmds.polyCube( w=2, h=.2, d=2, n='plg2' )
cmds.move( 0, -1.1, 0 )
cmds.polyCube( w=2, h=.2, d=2, n='plg3' )
cmds.move( 0, 1.1, 0 )
cmds.polyUnite( 'plg1', 'plg2', 'plg3', n='result' )
cmds.rotate( 0, 0, 90, 'result' )
Return to Autodesk Index