pymel.core.modeling.changeSubdivComponentDisplayLevel

changeSubdivComponentDisplayLevel(*args, **kwargs)

Explicitly forces the subdivision surface to display components at a particular level of refinement.

Flags:

Long Name / Short Name Argument Types Properties
level / l int ../../../_images/create.gif ../../../_images/query.gif
  Specifies the display level of components.
relative / r bool ../../../_images/create.gif ../../../_images/query.gif
  If set, level refers to the relative display level Flag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.changeSubdivComponentDisplayLevel

Example:

import pymel.core as pm

# change the selected subdivision surface to display level 4 components
pm.changeSubdivComponentDisplayLevel( l=4 )
# increase the display level of the selected subivision surface by 1
pm.changeSubdivComponentDisplayLevel( l=1, r=True )