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 -queryflag. For more information on the flags, see the node documentation for the nurbsToSubdivProcnode. In query mode, return type is based on queried flag.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
bridge (br) | int | ||
|
|||
capType (ct) | int | ||
|
|||
collapsePoles (cp) | bool | ||
matchPeriodic (mp) | bool | ||
maxPolyCount (mpc) | int | ||
offset (o) | float | ||
reverseNormal (rn) | bool | ||
solidType (st) | int | ||
|
|||
trans00 (t00) | float | ||
trans01 (t01) | float | ||
trans02 (t02) | float | ||
trans10 (t10) | float | ||
trans11 (t11) | float | ||
trans12 (t12) | float | ||
trans20 (t20) | float | ||
trans21 (t21) | float | ||
trans22 (t22) | float | ||
trans30 (t30) | float | ||
trans31 (t31) | float | ||
trans32 (t32) | float | ||
|
Derived from mel command maya.cmds.nurbsToSubdivPref
Example:
import pymel.core as pm
# To find out what the current format is:
pm.nurbsToSubdivPref( q=True, maxPolyCount=True )
# Result: 1000.0 #