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

Synopsis

polyInfo([edgeToFace=boolean], [edgeToVertex=boolean], [faceNormals=boolean], [faceToEdge=boolean], [faceToVertex=boolean], [invalidEdges=boolean], [invalidVertices=boolean], [laminaFaces=boolean], [nonManifoldEdges=boolean], [nonManifoldUVEdges=boolean], [nonManifoldUVs=boolean], [nonManifoldVertices=boolean], [vertexToEdge=boolean], [vertexToFace=boolean])

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

polyInfo is NOT undoable, NOT queryable, and NOT editable.

Command queries topological information on polygonal objects and components. So, the command will require the following to be specified: - selection list to query

Return value

stringComponents

Keywords

query, polygons, information, topology

Related

polyEvaluate

Flags

edgeToFace, edgeToVertex, faceNormals, faceToEdge, faceToVertex, invalidEdges, invalidVertices, laminaFaces, nonManifoldEdges, nonManifoldUVEdges, nonManifoldUVs, nonManifoldVertices, vertexToEdge, vertexToFace
Long name (short name) Argument types Properties
edgeToFace(ef) boolean create
Returns the faces that share the specified edge. Requires edges to be selected.
edgeToVertex(ev) boolean create
Returns the vertices defining an edge. Requires edges to be selected.
faceNormals(fn) boolean create
Returns face normals of the specified object. If faces are selected the command returns the face normals of selected faces. Else it returns the face normals of all the faces of the object.
faceToEdge(fe) boolean create
Returns the edges defining a face. Requires faces to be selected.
faceToVertex(fv) boolean create
Returns the vertices defining a face. Requires faces to be selected.
invalidEdges(ie) boolean create
Find all edges that are not associated with any face in the mesh.
invalidVertices(iv) boolean create
Find all vertices that are not associated with any face in the mesh.
laminaFaces(lf) boolean create
Find all lamina faces in the specified objects.
nonManifoldEdges(nme) boolean create
Find all non-manifold edges in the specified objects.
nonManifoldUVEdges(nue) boolean create
Find all non-manifold UV edges in the specified objects.
nonManifoldUVs(nuv) boolean create
Find all non-manifold UVs in the specified objects.
nonManifoldVertices(nmv) boolean create
Find all non-manifold vertices in the specified objects.
vertexToEdge(ve) boolean create
Returns the Edges connected to a vertex. Requires vertices to be selected.
vertexToFace(vf) boolean create
Returns the faces that share the specified vertex. Requires vertices to be selected.

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.

Python examples

import maya.cmds as cmds

# To find all non-manifold edges on a polygonal object called pPlane1
cmds.polyInfo( nme=True )
# Result: pPlane1.e[74] #

# To find all non-manifold vertices on a polygonal object called pPlane1
cmds.polyInfo( nmv=True )
# Result: pPlane1.vtx[38] pPlane1.vtx[49] #