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

Synopsis

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.

Return value

selectionItem[]List of poly components

Flags

nonOverlappingComponents, overlappingComponents
Long name (short name) Argument types Properties
nonOverlappingComponents(noc) boolean create
Return non-overlapping components based on selected/specified components
overlappingComponents(oc) boolean create
Return overlapping components based on selected/specified components

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.

Python examples

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]] #