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 levelFlag can appear in Create mode of commandFlag 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

import maya.cmds as cmds

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

Previous topic

pymel.core.modeling.canCreateManip

Next topic

pymel.core.modeling.changeSubdivRegion

Core

Core Modules

Other Modules

This Page