Go to: Synopsis. Return value. Flags. Python examples.
polyUVOverlap(
selectionItem[]
, [nonOverlappingComponents=boolean], [overlappingComponents=boolean])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
polyUVOverlap is undoable, NOT queryable, and NOT editable.
Return the required result on the specified components.
If no objects are specified in the command line, then components from selection list will be used.
selectionItem[] | List of poly components |
nonOverlappingComponents, overlappingComponents
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
# Return UV overlapping components from selection list
cmds.polyUVOverlap( oc=True )
# Result: [pCubeShape1.f[1], pCubeShape1.f[2]] #
# Return UV non-overlapping components from specified components
cmds.polyUVOverlap('pCube1.f[0:5]', noc=True)
# Result: [pCubeShape1.f[0], pCubeShape1.f[3], pCubeShape1.f[4], pCubeShape1.f[5]] #