Go to: Synopsis. Return value. Keywords. Related. Flags. Python examples.
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
query, polygons, information, topology
polyEvaluate
edgeToFace, edgeToVertex, faceNormals, faceToEdge, faceToVertex, invalidEdges, invalidVertices, laminaFaces, nonManifoldEdges, nonManifoldUVEdges, nonManifoldUVs, nonManifoldVertices, vertexToEdge, vertexToFace
Long name (short name) |
Argument types |
Properties |
edgeToFace(ef)
|
boolean
|
|
|
Returns the faces that share the specified edge. Requires edges to be selected.
|
|
edgeToVertex(ev)
|
boolean
|
|
|
Returns the vertices defining an edge. Requires edges to be selected.
|
|
faceNormals(fn)
|
boolean
|
|
|
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
|
|
|
Returns the edges defining a face. Requires faces to be selected.
|
|
faceToVertex(fv)
|
boolean
|
|
|
Returns the vertices defining a face. Requires faces to be selected.
|
|
invalidEdges(ie)
|
boolean
|
|
|
Find all edges that are not associated with any face in the mesh.
|
|
invalidVertices(iv)
|
boolean
|
|
|
Find all vertices that are not associated with any face in the mesh.
|
|
laminaFaces(lf)
|
boolean
|
|
|
Find all lamina faces in the specified objects.
|
|
nonManifoldEdges(nme)
|
boolean
|
|
|
Find all non-manifold edges in the specified objects.
|
|
nonManifoldUVEdges(nue)
|
boolean
|
|
|
Find all non-manifold UV edges in the specified objects.
|
|
nonManifoldUVs(nuv)
|
boolean
|
|
|
Find all non-manifold UVs in the specified objects.
|
|
nonManifoldVertices(nmv)
|
boolean
|
|
|
Find all non-manifold vertices in the specified objects.
|
|
vertexToEdge(ve)
|
boolean
|
|
|
Returns the Edges connected to a vertex. Requires vertices to be selected.
|
|
vertexToFace(vf)
|
boolean
|
|
|
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.
|
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] #