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

Synopsis

subdivDisplaySmoothness [-all] [-smoothness int]

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.

Return value

booleanCommand result

In query mode, return type is based on queried flag.

Keywords

subdivision, surface, display, smoothness

Related

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

Flags

all, smoothness
Long name (short name) Argument types Properties
-all(-) createquery
If set, change smoothness for all subdivision surfaces
-smoothness(-s) int createquery
Smoothness - 1 rough, 2 medium, 3 fine

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

subdivDisplaySmoothness -s 0;  // Set smoothness to hull for selected subdivs
subdivDisplaySmoothness -s 1;  // Set smoothness to rough for selected subdivs
subdivDisplaySmoothness -s 2;  // Set smoothness to medium for selected subdivs
subdivDisplaySmoothness -s 3;  // Set smoothness to fine for selected subdivs
subdivDisplaySmoothness -s 1 -all;  // Set smoothness to rough for all subdivs
subdivDisplaySmoothness -q;  // Query display smoothness for selected subdivs