pymel.core.modeling.polyUVCoverage

polyUVCoverage(*args, **kwargs)

Return the UV space coverage of the specified components. If no objects are specified in the command line, then components from selection list will be used.

Flags:

Long Name / Short Name Argument Types Properties
uvRange / ur float, float, float, float ../../../_images/create.gif
  UV space range for calculating the coverage The 4 values specify the minimum U, V and maximum U, V in that order. Default is 0.0 0.0 1.0 1.0. Flag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.polyUVCoverage

Example:

::

import pymel.core as pm

# Return UV coverage from selection list pm.polyUVCoverage() [0.3799999952316284]

# Return UV coverage from specified components with specified range pm.polyUVCoverage(‘pCube1.f[0:5]’, usr=(0,0,2,2)); [0.09749999642372131]