Go to: Synopsis. Return value. Flags. Python examples.

Synopsis

nurbsToSubdivPref([bridge=int], [capType=int], [collapsePoles=boolean], [matchPeriodic=boolean], [maxPolyCount=int], [offset=linear], [reverseNormal=boolean], [solidType=int], [trans00=float], [trans01=float], [trans02=float], [trans10=float], [trans11=float], [trans12=float], [trans20=float], [trans21=float], [trans22=float], [trans30=float], [trans31=float], [trans32=float])

Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.

nurbsToSubdivPref is undoable, queryable, and NOT editable.

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.

Return value

None

In query mode, return type is based on queried flag.

Flags

bridge, capType, collapsePoles, matchPeriodic, maxPolyCount, offset, reverseNormal, solidType, trans00, trans01, trans02, trans10, trans11, trans12, trans20, trans21, trans22, trans30, trans31, trans32
Long name (short name) Argument types Properties
maxPolyCount(mpc) int
reverseNormal(rn) boolean
matchPeriodic(mp) boolean
collapsePoles(cp) boolean
solidType(st) int
Valid values are 0, 1 or 2.
capType(ct) int
Valid values are 0 or 1.
bridge(br) int
Valid values are 0, 1, 2 or 3.
offset(o) linear
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

Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can have multiple arguments, passed either as a tuple or a list.

Python examples

import maya.cmds as cmds

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