Go to: Synopsis. Return value. Keywords. Related. Flags. Python examples.

Synopsis

changeSubdivRegion([action=int], [level=int])

Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.

changeSubdivRegion is undoable, NOT queryable, and NOT editable.

Changes a subdivision surface region based on the command parameters. The command operates on the selected subdivision surfaces.

Return value

booleanCommand result

Keywords

subdivision, surface, select, region

Related

changeSubdivComponentDisplayLevel, createSubdivRegion, nurbsToSubdiv, polyToSubdiv, querySubdiv, refineSubdivSelectionList, subdCollapse, subdToBlind, subdToPoly, subdiv, subdivCrease, subdivDisplaySmoothness

Flags

action, level
Long name (short name) Argument types Properties
action(a) int create
Specifies the action to the selection region 1 = delete selection region 2 = enlarge selection region
level(l) int create
Specify the level of the subdivision surface to perform the operation

Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can have multiple arguments, passed either as a tuple or a list.

Python examples

import maya.cmds as cmds

# delete the selection region on the base mesh
cmds.changeSubdivRegion( a=1, l=0 )

# expand the selection region at the current level
cmds.changeSubdivRegion( a=2 )