Go to: Synopsis. Return value. Related. Flags. Python examples.
nurbsToSubdiv(
[surface]
, [constructionHistory=boolean], [name=string], [object=boolean])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
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.
string[] | The subd surface and optionally the dependency node name |
In query mode, return type is based on queried flag.
changeSubdivComponentDisplayLevel, changeSubdivRegion, createSubdivRegion, polyToSubdiv, querySubdiv, refineSubdivSelectionList, subdCollapse, subdToBlind, subdToPoly, subdiv, subdivCrease, subdivDisplaySmoothness
constructionHistory, name, object
Long name (short name) |
Argument types |
Properties |
Common flags |
name(n)
|
string
|
|
|
Name the resulting object
|
|
constructionHistory(ch)
|
boolean
|
|
|
Turn the construction history on or off (where applicable)
|
|
object(o)
|
boolean
|
|
|
Create the result, or just the dep. 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 have multiple arguments, passed either as a tuple or a list.
|
import maya.cmds as cmds
# To create a new subd surface from a NURBS surface:
cmds.nurbsToSubdiv( 'nurbsSphere1' )
# To create a new subd surface from a NURBS surface with history so that
# the tesselation can be edited afterwards:
cmds.nurbsToSubdiv( 'nurbsSphere1', ch=True )