Your Ad Here

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

Synopsis

nurbsToPolygonsPref([chordHeight=float], [chordHeightRatio=float], [delta3D=float], [edgeSwap=boolean], [format=0|1|2], [fraction=float], [matchRenderTessellation=int], [merge=int], [mergeTolerance=float], [minEdgeLen=float], [polyCount=int], [polyType=int], [uNumber=int], [uType=int], [useChordHeight=boolean], [useChordHeightRatio=boolean], [vNumber=int], [vType=int])

Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.

nurbsToPolygonsPref is undoable, queryable, and 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.

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
format(f) 0|1|2
chordHeightRatio(chr) float
chordHeight(cht) float
delta3D(d) float
edgeSwap(es) boolean
fraction(ft) float
minEdgeLen(mel) float
polyCount(pc) int
merge(m) int
mergeTolerance(mt) float
matchRenderTessellation(mrt) int
polyType(pt) int
useChordHeight(uch) boolean
useChordHeightRatio(ucr) boolean
uNumber(un) int
uType(ut) int
vNumber(vn) int
vType(vt) int

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.

Return value


None

Python examples

import maya.cmds as cmds

# To find out what the current format is:
cmds.nurbsToPolygonsPref( q=True, f=True )

  

Return to Autodesk Index


Your Ad Here