pymel.core.modeling.nurbsToSubdivPref

nurbsToSubdivPref(*args, **kwargs)

This command sets the values used by the nurbs-to-subdivision surface preference. This preference is used by the nurbs creation commands and is saved between Maya sessions. To query any of the flags, use the “-query” flag. For more information on the flags, see the node documentation for the “nurbsToSubdivProc” node. In query mode, return type is based on queried flag.

Flags:
Long name (short name) Argument Types Properties
bridge (br) int ../../../_images/create.gif ../../../_images/query.gif
 
Valid values are 0, 1, 2 or 3.
capType (ct) int ../../../_images/create.gif ../../../_images/query.gif
 
Valid values are 0 or 1.
collapsePoles (cp) bool ../../../_images/create.gif ../../../_images/query.gif
   
matchPeriodic (mp) bool ../../../_images/create.gif ../../../_images/query.gif
   
maxPolyCount (mpc) int ../../../_images/create.gif ../../../_images/query.gif
   
offset (o) float ../../../_images/create.gif ../../../_images/query.gif
   
reverseNormal (rn) bool ../../../_images/create.gif ../../../_images/query.gif
   
solidType (st) int ../../../_images/create.gif ../../../_images/query.gif
 
Valid values are 0, 1 or 2.
trans00 (t00) float ../../../_images/create.gif ../../../_images/query.gif
   
trans01 (t01) float ../../../_images/create.gif ../../../_images/query.gif
   
trans02 (t02) float ../../../_images/create.gif ../../../_images/query.gif
   
trans10 (t10) float ../../../_images/create.gif ../../../_images/query.gif
   
trans11 (t11) float ../../../_images/create.gif ../../../_images/query.gif
   
trans12 (t12) float ../../../_images/create.gif ../../../_images/query.gif
   
trans20 (t20) float ../../../_images/create.gif ../../../_images/query.gif
   
trans21 (t21) float ../../../_images/create.gif ../../../_images/query.gif
   
trans22 (t22) float ../../../_images/create.gif ../../../_images/query.gif
   
trans30 (t30) float ../../../_images/create.gif ../../../_images/query.gif
   
trans31 (t31) float ../../../_images/create.gif ../../../_images/query.gif
   
trans32 (t32) float ../../../_images/create.gif ../../../_images/query.gif
 
Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.nurbsToSubdivPref

Example:

import pymel.core as pm

import maya.cmds as cmds

# To find out what the current format is:
pm.nurbsToSubdivPref( q=True, maxPolyCount=True )
# Result: 1000.0 #

Previous topic

pymel.core.modeling.nurbsToSubdiv

Next topic

pymel.core.modeling.nurbsUVSet

Core

Core Modules

Other Modules

This Page