pymel.core.modeling.polyInfo

static modeling.polyInfo(*args, **kwargs)

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

Flags:
Long name (short name) Argument Types Properties
edgeToFace (ef) bool ../../../_images/create.gif
 
Returns the faces that share the specified edge. Requires edges to be selected.
edgeToVertex (ev) bool ../../../_images/create.gif
 
Returns the vertices defining an edge. Requires edges to be selected.
faceNormals (fn) bool ../../../_images/create.gif
 

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 have multiple arguments, passed either as a tuple or a list.

faceToEdge (fe) bool ../../../_images/create.gif
 
Returns the edges defining a face. Requires faces to be selected.
faceToVertex (fv) bool ../../../_images/create.gif
 
Returns the vertices defining a face. Requires faces to be selected.
laminaFaces (lf) bool ../../../_images/create.gif
 
Find all lamina faces in the specified objects.
nonManifoldEdges (nme) bool ../../../_images/create.gif
 
Find all non-manifold edges in the specified objects.
nonManifoldVertices (nmv) bool ../../../_images/create.gif
 
Find all non-manifold vertices in the specified objects.
vertexToEdge (ve) bool ../../../_images/create.gif
 
Returns the Edges connected to a vertex. Requires vertices to be selected.
vertexToFace (vf) bool ../../../_images/create.gif
 
Returns the faces that share the specified vertex. Requires vertices to be selected.

Derived from mel command maya.cmds.polyInfo

Example:

import pymel.core as pm

# To find all non-manifold edges on a polygonal object called pPlane1
pm.polyInfo( nme=True )
pPlane1.e[74]
# To find all non-manifold vertices on a polygonal object called pPlane1
pm.polyInfo( nmv=True )
pPlane1.vtx[38] pPlane1.vtx[49]

Previous topic

pymel.core.modeling.polyHole

Next topic

pymel.core.modeling.polyInstallAction

Core

Core Modules

Other Modules

This Page