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

Synopsis

polyInfo [-edgeToFace] [-edgeToVertex] [-faceNormals] [-faceToEdge] [-faceToVertex] [-invalidEdges] [-invalidVertices] [-laminaFaces] [-nonManifoldEdges] [-nonManifoldUVEdges] [-nonManifoldUVs] [-nonManifoldVertices] [-vertexToEdge] [-vertexToFace]

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) create
Returns the faces that share the specified edge. Requires edges to be selected.
-edgeToVertex(-ev) create
Returns the vertices defining an edge. Requires edges to be selected.
-faceNormals(-fn) 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) create
Returns the edges defining a face. Requires faces to be selected.
-faceToVertex(-fv) create
Returns the vertices defining a face. Requires faces to be selected.
-invalidEdges(-ie) create
Find all edges that are not associated with any face in the mesh.
-invalidVertices(-iv) create
Find all vertices that are not associated with any face in the mesh.
-laminaFaces(-lf) create
Find all lamina faces in the specified objects.
-nonManifoldEdges(-nme) create
Find all non-manifold edges in the specified objects.
-nonManifoldUVEdges(-nue) create
Find all non-manifold UV edges in the specified objects.
-nonManifoldUVs(-nuv) create
Find all non-manifold UVs in the specified objects.
-nonManifoldVertices(-nmv) create
Find all non-manifold vertices in the specified objects.
-vertexToEdge(-ve) create
Returns the Edges connected to a vertex. Requires vertices to be selected.
-vertexToFace(-vf) 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 be used more than once in a command.

MEL examples


// To find all non-manifold edges on a polygonal object called pPlane1
polyInfo -nme;
// Result: pPlane1.e[74] //

// To find all non-manifold vertices on a polygonal object called pPlane1
polyInfo -nmv;
// Result: pPlane1.vtx[38] pPlane1.vtx[49] //