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.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
chordHeight (cht) | float | ![]() ![]() |
|
chordHeightRatio (chr) | float | ![]() ![]() |
|
delta3D (d) | float | ![]() ![]() |
|
edgeSwap (es) | bool | ![]() ![]() |
|
format (f) | int | ![]() ![]() |
|
|
|||
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 | ![]() ![]() |
|
|
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 #