poly / tri count spreadsheet?

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Display Modes
  03 March 2013
poly / tri count spreadsheet?


Is there anything in Maya 2013 that will display a list of the objects in the scene and their poly/tri counts?

I'm looking for something similar to the Attribute Spread Sheet. (this would be perfect but it doesn't display the poly count anywhere)
I'm aware of the poly count HUD element but this doesn't allow me to compare multiple objects against each other.

any help would be greatly appreciated.

When I was alive, I may have been a little...Naughty!......

  03 March 2013
Not sure about spread sheet. You can try polyEvaluate to print out the counts in script editor. Although it won't be nicely formatted.
import maya.cmds as cmds

selections = cmds.ls(sl=True)
for s in selections:
    cmds.select(s, r=True)
    print s, cmds.polyEvaluate(vertex=True, triangle=True, face=True)

You can remove the vertex=... argument and leave only what you want to know.
  03 March 2013
you can go through Display > Heads up display > polycount to see total or selected object's or selected components count.
  03 March 2013

thanks for the replies.
That bit of code works perfectly. guess i really should learn a bit of python.

When I was alive, I may have been a little...Naughty!......

  03 March 2013
... don't suppose there is a way for it to print the results into a text window or something though is there?
It works as it is and is totally useable, but it'd just be a bit nicer to not have the script editor open all the time.

thanks again.
When I was alive, I may have been a little...Naughty!......

  03 March 2013
maybe its possible to hack the DG profiler to spit out polycounts...
  03 March 2013
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright ©2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 02:44 PM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.