pymel.core.modeling.nurbsToPolygonsPref¶
- nurbsToPolygonsPref(*args, **kwargs)¶
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 -queryflag. For more information on the flags, see the node documentation for the nurbsTessellatenode. In query mode, return type is based on queried flag.
Flags:
Long Name / Short Name Argument Types Properties chordHeight / cht float chordHeightRatio / chr float delta3D / d float edgeSwap / es bool format / f int Valid values are 0, 1 and 2. fraction / ft float matchRenderTessellation / mrt int merge / m int mergeTolerance / mt float minEdgeLen / mel float polyCount / pc int polyType / pt int uNumber / un int uType / ut int useChordHeight / uch bool useChordHeightRatio / ucr bool vNumber / vn int vType / vt int Flag can have multiple arguments, passed either as a tuple or a list. Derived from mel command maya.cmds.nurbsToPolygonsPref
Example:
import pymel.core as pm # To find out what the current format is: pm.nurbsToPolygonsPref( q=True, f=True ) # Result: 1 #