Sets or querys the display smoothness of subdivision surfaces on the selection list or of all subdivision surfaces if the -all option is set. Smoothness options are; rough, medium, or fine. Rough is the default.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
all (boolean) | If set, change smoothness for all subdivision surfaces | ||
|
|||
smoothness (s) | int | ||
|
Derived from mel command maya.cmds.subdivDisplaySmoothness
Example:
import pymel.core as pm
pm.subdivDisplaySmoothness( s=0 )# Set smoothness to hull for selected subdivs
pm.subdivDisplaySmoothness( s=1 )# Set smoothness to rough for selected subdivs
pm.subdivDisplaySmoothness( s=2 )# Set smoothness to medium for selected subdivs
pm.subdivDisplaySmoothness( s=3 )# Set smoothness to fine for selected subdivs
pm.subdivDisplaySmoothness( s=1, all=True )# Set smoothness to rough for all subdivs
pm.subdivDisplaySmoothness( query=True )# Query display smoothness for selected subdivs