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 createquery
reverseNormal(rn) boolean createquery
matchPeriodic(mp) boolean createquery
collapsePoles(cp) boolean createquery
solidType(st) int createquery
Valid values are 0, 1 or 2.
capType(ct) int createquery
Valid values are 0 or 1.
bridge(br) int createquery
Valid values are 0, 1, 2 or 3.
offset(o) linear createquery
trans00(t00) float createquery
trans01(t01) float createquery
trans02(t02) float createquery
trans10(t10) float createquery
trans11(t11) float createquery
trans12(t12) float createquery
trans20(t20) float createquery
trans21(t21) float createquery
trans22(t22) float createquery
trans30(t30) float createquery
trans31(t31) float createquery
trans32(t32) float createquery

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 )