Go to: Synopsis. Return value. Keywords. Related. Flags. Python examples.
changeSubdivComponentDisplayLevel([level=int], [relative=boolean])
Note: Strings representing object names and
arguments must be separated by commas. This is not depicted in the
synopsis.
changeSubdivComponentDisplayLevel is undoable, queryable, and NOT editable.
Explicitly forces the subdivision surface to display components at a particular level of refinement.| int |
In query mode, return type is based on queried flag.
| Long name (short name) | Argument types | Properties | ||
|---|---|---|---|---|
level(l) |
int |
|||
|
||||
relative(r) |
boolean |
|||
|
||||
import maya.cmds as cmds
# change the selected subdivision surface to display level 4 components
cmds.changeSubdivComponentDisplayLevel( l=4 )
# increase the display level of the selected subivision surface by 1
cmds.changeSubdivComponentDisplayLevel( l=1, r=True )