pymel.core.modeling.changeSubdivRegion¶
- changeSubdivRegion(*args, **kwargs)¶
Changes a subdivision surface region based on the command parameters. The command operates on the selected subdivision surfaces.
Flags:
Long Name / Short Name Argument Types Properties action / a int Specifies the action to the selection region 1 = delete selection region 2 = enlarge selection region level / l int Specify the level of the subdivision surface to perform the operation Flag can have multiple arguments, passed either as a tuple or a list. Derived from mel command maya.cmds.changeSubdivRegion
Example:
import pymel.core as pm # delete the selection region on the base mesh pm.changeSubdivRegion( a=1, l=0 ) # expand the selection region at the current level pm.changeSubdivRegion( a=2 )