Go to: Synopsis. Return value. Flags. Python examples.
polyOutput( poly poly... , [allValues=boolean], [color=boolean], [colorDesc=boolean], [edge=boolean], [edgeFace=boolean], [face=boolean], [faceNorm=boolean], [force=boolean], [group=boolean], [noOutput=boolean], [normDesc=boolean], [triangle=boolean], [uvDesc=boolean], [uvValue=boolean], [vert=boolean], [vertEdge=boolean], [vertNorm=boolean])
Note: Strings representing object names and
arguments must be separated by commas. This is not depicted in the
synopsis.
polyOutput is undoable, NOT queryable, and NOT
editable.
Dumps a description of internal memory representation of poly
objects. If no objects are specified in the command line, then the
objects from the active list are used. If information on the
geometry in the history of a poly shape is desired, then the plug
of interest needs to be specified in the command line. Default
behaviour is to print only a summary. Use the flags above to get
more details on a specific part of the object.
None
allValues, color, colorDesc,
edge, edgeFace,
face, faceNorm,
force, group,
noOutput, normDesc, triangle,
uvDesc, uvValue, vert, vertEdge, vertNorm
Long name (short name) |
Argument types |
Properties |
force(fo) |
boolean |
 |
|
Force evaluation of missing pieces before printing. |
|
vert(v) |
boolean |
 |
|
Prints the vertex positions. |
|
edge(e) |
boolean |
 |
|
Print the edge description. |
|
edgeFace(ef) |
boolean |
 |
|
Prints the edge to face adjascency list. Only available if the
information is already computed on the object. |
|
vertEdge(ve) |
boolean |
 |
|
Prints the vertex to edge adjascency list. Only available if
the information is already computed on the object. |
|
face(f) |
boolean |
 |
|
Print the faces description |
|
triangle(t) |
boolean |
 |
|
Prints the triangles per face. Only available if the
information is already computed on the object. |
|
faceNorm(fn) |
boolean |
 |
|
Prints the normals per face. Only available if the information
is already computed on the object. |
|
vertNorm(vn) |
boolean |
 |
|
Prints the normals per vertex. Only available if the
information is already computed on the object. |
|
normDesc(nd) |
boolean |
 |
|
Prints the normals per vertex description. Each integer is an
entry in the vertNorm array. Only available if the information is
already computed on the object. |
|
group(g) |
boolean |
 |
|
Print the groups of the object. |
|
uvValue(uv) |
boolean |
 |
|
Prints the UV positions. In case of multiple UV sets, all sets
are printed. |
|
uvDesc(uvd) |
boolean |
 |
|
Print the UV description. Each integer is an entry in the
uvValue array. |
|
color(c) |
boolean |
 |
|
Prints the color per vertex. In case of multiple sets, all sets
are printed. |
|
colorDesc(cd) |
boolean |
 |
|
Print the color per vertex description. Each integer is an
entry in the color array. |
|
allValues(a) |
boolean |
 |
|
Shortcut for setting all the flags above |
|
noOutput(no) |
boolean |
 |
|
Dont output any data. Would be useful if you want to just
evaluate the data, for testing purposes. |
|
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. |
import maya.cmds as cmds
cmds.polyPlane()
cmds.polyOutput( a=True )
# If a polygon operation is performed such as Add Divisions:
cmds.polySubdivideFacet('pPlane1', dv=1, m=0, ch=1)
# then the command can get information on geometry data feeding into the polySubdFace1 node.
cmds.polyOutput( 'polySubdFace1.inputPolymesh' )
# The command can also get information on geometry data coming out of the
# polySubdFace1 node.
cmds.polyOutput( 'polySubdFace1.output' )