Go to: Synopsis. Return value. Flags. MEL 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]

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
-bridge(-br) int createquery
Valid values are 0, 1, 2 or 3.
-capType(-ct) int createquery
Valid values are 0 or 1.
-collapsePoles(-cp) boolean createquery
-matchPeriodic(-mp) boolean createquery
-maxPolyCount(-mpc) int createquery
-offset(-o) linear createquery
-reverseNormal(-rn) boolean createquery
-solidType(-st) int createquery
Valid values are 0, 1 or 2.
-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 be used more than once in a command.

MEL examples

// To find out what the current value of maxPolyCount is:
nurbsToSubdivPref -q -maxPolyCount;