Go to: Synopsis. Return value. Keywords. Related. Flags. Python examples.
subdivDisplaySmoothness([all=boolean], [smoothness=int])
Note: Strings representing object names and
arguments must be separated by commas. This is not depicted in the
synopsis.
subdivDisplaySmoothness is undoable, queryable, and NOT editable.
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.| boolean |
In query mode, return type is based on queried flag.
| Long name (short name) | Argument types | Properties | ||
|---|---|---|---|---|
smoothness(s) |
int |
|||
|
||||
all() |
boolean |
|||
|
||||
import maya.cmds as cmds
cmds.subdivDisplaySmoothness( s=0 )# Set smoothness to hull for selected subdivs
cmds.subdivDisplaySmoothness( s=1 )# Set smoothness to rough for selected subdivs
cmds.subdivDisplaySmoothness( s=2 )# Set smoothness to medium for selected subdivs
cmds.subdivDisplaySmoothness( s=3 )# Set smoothness to fine for selected subdivs
cmds.subdivDisplaySmoothness( s=1, all=True )# Set smoothness to rough for all subdivs
cmds.subdivDisplaySmoothness( query=True )# Query display smoothness for selected subdivs