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.
Flags:
Long Name / Short Name | Argument Types | Properties | |
---|---|---|---|
addUnderTransform / aut | bool | ||
caching / cch | bool | ||
collapsePoles / cp | bool | ||
constructionHistory / ch | bool | ![]() |
|
|
|||
frozen / fzn | bool | ||
matchPeriodic / mp | bool | ||
maxPolyCount / mpc | int | ||
name / n | unicode | ![]() |
|
|
|||
nodeState / nds | int | ||
object / o | bool | ![]() |
|
|
|||
reverseNormal / rn | bool | ||
Derived from mel command maya.cmds.nurbsToSubdiv
Example:
import pymel.core as pm
# To create a new subd surface from a NURBS surface:
pm.nurbsToSubdiv( 'nurbsSphere1' )
# To create a new subd surface from a NURBS surface with history so that
# the tesselation can be edited afterwards:
pm.nurbsToSubdiv( 'nurbsSphere1', ch=True )