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

Synopsis

nurbsToPolygonsPref [-chordHeight float] [-chordHeightRatio float] [-delta3D float] [-edgeSwap boolean] [-format uint] [-fraction float] [-matchRenderTessellation uint] [-merge uint] [-mergeTolerance float] [-minEdgeLen float] [-polyCount uint] [-polyType uint] [-uNumber uint] [-uType uint] [-useChordHeight boolean] [-useChordHeightRatio boolean] [-vNumber uint] [-vType uint]

nurbsToPolygonsPref is undoable, queryable, and NOT editable.

This command sets the values used by the nurbs-to-polygons (or "tesselate") preference. This preference is used by Maya menu items 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 "nurbsTessellate" node.

Return value

None

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

Flags

chordHeight, chordHeightRatio, delta3D, edgeSwap, format, fraction, matchRenderTessellation, merge, mergeTolerance, minEdgeLen, polyCount, polyType, uNumber, uType, useChordHeight, useChordHeightRatio, vNumber, vType
Long name (short name) Argument types Properties
-chordHeight(-cht) float createquery
-chordHeightRatio(-chr) float createquery
-delta3D(-d) float createquery
-edgeSwap(-es) boolean createquery
-format(-f) uint createquery
Valid values are 0, 1 and 2.
-fraction(-ft) float createquery
-matchRenderTessellation(-mrt) uint createquery
-merge(-m) uint createquery
-mergeTolerance(-mt) float createquery
-minEdgeLen(-mel) float createquery
-polyCount(-pc) uint createquery
-polyType(-pt) uint createquery
-uNumber(-un) uint createquery
-uType(-ut) uint createquery
-useChordHeight(-uch) boolean createquery
-useChordHeightRatio(-ucr) boolean createquery
-vNumber(-vn) uint createquery
-vType(-vt) uint 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 format is:
nurbsToPolygonsPref -q -f;