pymel.core.modeling.nurbsToSubdiv¶
- nurbsToSubdiv(*args, **kwargs)¶
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 Turn the construction history on or off (where applicable). frozen / fzn bool matchPeriodic / mp bool maxPolyCount / mpc int name / n unicode Name the resulting object. nodeState / nds int object / o bool Create the result, or just the depend node (where applicable). Flag can have multiple arguments, passed either as a tuple or a list. 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 )