Go to: Synopsis. Return value. Related. Flags. MEL examples.
 polyEvaluate [-accurateEvaluation] [-area] [-boundingBox] [-boundingBox2d] [-boundingBoxComponent] [-boundingBoxComponent2d] [-displayStats] [-edge] [-edgeComponent] [-face] [-faceComponent] [-format] [-shell] [-triangle] [-triangleComponent] [-uvComponent] [-uvSetName string] [-uvcoord] [-vertex] [-vertexComponent] [-worldArea] 
[poly poly...]
      
polyEvaluate is undoable, NOT queryable, and NOT editable.
Returns the required counts on the specified objects.| Any | a MEL array of values, a Python dictionary, or a string, depending on the format requested and the language called from. | 
| Long name (short name) | Argument types | Properties | ||
|---|---|---|---|---|
| -accurateEvaluation(-ae) |  |   | ||
| 
 | ||||
| -area(-a) |  |   | ||
| 
 | ||||
| -boundingBox(-b) |  |   | ||
| 
 | ||||
| -boundingBox2d(-b2) |  |   | ||
| 
 | ||||
| -boundingBoxComponent(-bc) |  |   | ||
| 
 | ||||
| -boundingBoxComponent2d(-bc2) |  |   | ||
| 
 | ||||
| -displayStats(-ds) |  |   | ||
| 
 | ||||
| -edge(-e) |  |   | ||
| 
 | ||||
| -edgeComponent(-ec) |  |   | ||
| 
 | ||||
| -face(-f) |  |   | ||
| 
 | ||||
| -faceComponent(-fc) |  |   | ||
| 
 | ||||
| -format(-fmt) |  |   | ||
| 
 | ||||
| -shell(-s) |  |   | ||
| 
 | ||||
| -triangle(-t) |  |   | ||
| 
 | ||||
| -triangleComponent(-tc) |  |   | ||
| 
 | ||||
| -uvComponent(-uvc) |  |   | ||
| 
 | ||||
| -uvSetName(-uvs) | string |   | ||
| 
 | ||||
| -uvcoord(-uv) |  |   | ||
| 
 | ||||
| -vertex(-v) |  |   | ||
| 
 | ||||
| -vertexComponent(-vc) |  |   | ||
| 
 | ||||
| -worldArea(-wa) |  |   | ||
| 
 | ||||
|  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. | 
polyPlane -n plg -sx 4 -sy 4 -w 5 -h 5; select plg.f[2] plg.f[4]; // query the number of faces polyEvaluate -f; // Result: 16 // query the number of triangles polyEvaluate -t; // Result: 32 // query the number of selected faces polyEvaluate -faceComponent; // Result: 2 // query the number of vertices and faces polyEvaluate -v -f; // Result: 25 16 // formatted query of the number of vertices and faces polyEvaluate -v -f -fmt; // Result: vertex=25 face=16 // query all polyEvaluate; // Result: 25 40 16 25 32 1 0 0 2 0 //formatted query of all information polyEvaluate -fmt; // Result: vertex=25 edge=40 face=16 uvcoord=25 triangle=32 shell=1 // vertexComponent=0 edgeComponent=0 faceComponent=2 uvComponent=0 // boundingBox= X[-2.50,2.50] Y[0.00,0.00] Z[-2.50,2.50] // boundingBoxComponent= X[-2.50,1.25] Y[0.00,0.00] Z[0.00,2.50] // boundingBox2d= U[0.00,1.00] V[0.00,1.00] // boundingBoxComponent2d= U[0.00,0.75] V[0.00,0.50] // area=25.00 worldArea=25.00 // accurate bounding box evaluation polyCylinder -r 1 -h 2 -sx 20 -sy 1 -sz 1 -ax 0 1 0 -cuv 1 -ch 1; // Result: pCylinder1 polyCylinder1 // rotate -r -os 38.340875 0 0 ; rotate -r -os 0 0 -36.177835 ; polyEvaluate -b; // Result: -1.397482 1.397482 -1.716432 1.716432 -1.651247 1.651247 // polyEvaluate -b -ae; // Result: -1.397482 1.397482 -1.407107 1.407107 -1.359833 1.359833 // // Local and World Space Area polyCube -w 1 -h 1 -d 1 -sx 1 -sy 1 -sz 1 -ax 0 0 1 -tx 1 -ch 1; setAttr "pCube1.scaleY" 2; polyEvaluate -a; // Result: 6 polyEvaluate -wa; // Result: 10