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 ../../../_images/create.gif
 
Turn the construction history on or off (where applicable)
matchPeriodic (mp) bool  
   
maxPolyCount (mpc) int  
   
name (n) unicode ../../../_images/create.gif
 
Name the resulting object
nodeState (nds) int  
   
object (o) bool ../../../_images/create.gif
 
Create the result, or just the dep. 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 )

Previous topic

pymel.core.modeling.nurbsToPolygonsPref

Next topic

pymel.core.modeling.nurbsToSubdivPref

Core

Core Modules

Other Modules

This Page