1

Is there a way to check the selected object(s) vertex/edge/polygon count?

Prag
  • 1,038
  • 6
  • 15
  • 32

2 Answers2

7

Script to print stats to system console

Script prints the stats of selected mesh object to system console.

import bpy
from bpy import context

sumfaces = []
for o in context.selected_objects:
    if o.type != 'MESH':
        continue
    me = o.data
    verts = len(me.vertices)
    edges = len(me.edges)
    faces = len(me.polygons)
    sumfaces.append(faces)
    print("%s: verts:%d edges:%d polys %d"
            % (o.name, verts, edges, faces))

print("total polys %d" % sum(sumfaces)) 

Sample output.

Cube: verts:8 edges:12 polys 6
Suzanne: verts:507 edges:1005 polys 500

total polys 506
batFINGER
  • 84,216
  • 10
  • 108
  • 233
0

The info area shows these numbers.

Select an object -> go into edit mode -> select all -> view the numbers on the top bar (default setup).

For 2.8+: This information is now disabled by default but can be enabled by right clicking on the "Status Bar" at the bottom of the window, as described here: https://docs.blender.org/manual/en/latest/interface/window_system/status_bar.html

cxed
  • 68
  • 5
cccplex
  • 101
  • 1