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.
| Long name (short name) | Argument types | Properties | ||
|---|---|---|---|---|
| Common flags | ||||
constructionHistory(ch)
|
boolean
|
|
||
|
||||
name(n)
|
string
|
|
||
|
||||
object(o)
|
boolean
|
|
||
|
||||
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 )