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

Synopsis

changeSubdivRegion [-action int] [-level int]

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 be used more than once in a command.

MEL examples

// delete the selection region on the base mesh
changeSubdivRegion -a 1 -l 0;

// expand the selection region at the current level
changeSubdivRegion -a 2;