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

Synopsis

nurbsToSubdiv [-constructionHistory boolean] [-name string] [-object boolean] [surface]

nurbsToSubdiv is undoable, queryable, and editable.

This command converts a NURBS surface and produces a subd surface. The name of the new subdivision surface is returned. If construction history is ON, then the name of the new dependency node is returned as well.

Return value

string[]The subd surface and optionally the dependency node name

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

Related

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

Flags

constructionHistory, name, object
Long name (short name) Argument types Properties
Common flags
-constructionHistory(-ch) boolean create
Turn the construction history on or off (where applicable).
-name(-n) string create
Name the resulting object.
-object(-o) boolean create
Create the result, or just the depend node (where applicable).

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

// To create a new subd surface from a NURBS surface:
nurbsToSubdiv nurbsSphere1;

// To create a new subd surface from a NURBS surface with history so that
// the tesselation can be edited afterwards:
nurbsToSubdiv -ch on nurbsSphere1;