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