pymel.core.modeling.subdivDisplaySmoothness

subdivDisplaySmoothness(*args, **kwargs)

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.

Flags:
Long name (short name) Argument Types Properties
all (()) bool ../../../_images/create.gif ../../../_images/query.gif
 

If set, change smoothness for all subdivision surfacesFlag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list.

smoothness (s) int ../../../_images/create.gif ../../../_images/query.gif
 
Smoothness - 1 rough, 2 medium, 3 fine

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

Previous topic

pymel.core.modeling.subdivCrease

Next topic

pymel.core.modeling.surface

Core

Core Modules

Other Modules

This Page