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

Synopsis

polyInfo([edgeToFace=boolean], [edgeToVertex=boolean], [faceNormals=boolean], [faceToEdge=boolean], [faceToVertex=boolean], [laminaFaces=boolean], [nonManifoldEdges=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 query's 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, laminaFaces, nonManifoldEdges, nonManifoldVertices, vertexToEdge, vertexToFace
Long name (short name) Argument types Properties
nonManifoldVertices(nmv) boolean create
Find all non-manifold vertices in the specified objects.
nonManifoldEdges(nme) boolean create
Find all non-manifold edges in the specified objects.
laminaFaces(lf) boolean create
Find all lamina faces in the specified objects.
edgeToFace(ef) boolean create
Returns the faces that share the specified edge. Requires edges to be selected.
vertexToFace(vf) boolean create
Returns the faces that share the specified vertex. Requires vertices to be selected.
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.
edgeToVertex(ev) boolean create
Returns the vertices defining an edge. Requires edges to be selected.
vertexToEdge(ve) boolean create
Returns the Edges connected to a vertex. Requires vertices 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.

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] #