ScriptSpot home

Script

Count By Layer

By Branko Živković · 2016-06-30

Community compatibilityNo compatibility reports yet

No reports yet for the available releases.

Community reviewsNo reviews yet.
Version
1.1
3ds Max compatibility
See listing claims below
How compatibility works

Choose the 3ds Max version you use. For example, selecting 2020 puts direct matches for 2020 first, followed by listings that say a supported version or newer.

Scripts that only mention an older version can still appear as “2020 unconfirmed.” Listings that rule out 2020 are excluded. Use “Show scripts with unconfirmed compatibility” to also see listings without a clear match.

Community reports show what worked for members on a specific release. They’re separate from the listing’s compatibility claims and don’t change the filter.

From original requirements
2012 or newer
Original version requirement
2012+
Date updated
2016-06-30
Legacy votes
1
Downloads

Tags: Triangle Vertex Count

Description


Simple tool that allows to calculate triangle and vertex count of any object inside specified layer.

Additional Info

How to use it:
When tool is opens dropdown list is filled with all scene layers.
Press "R" button to refresh dropdown list.
Pick some layer form the list and press "C A L C U L A T E" button to fill bottom list.
Below dropdown list U can see sum of objects and theses triangle and verts count.
Doubleclick on object name will select object in the scene.
To filter lajer objects just check radiobutton option and press "C A L C U L A T E"

This tool is requested by bacree85
on this thread http://www.scriptspot.com/forums/3ds-max/scripts-wanted/triangle-count-b…

Update 1.1 >>>
#1 optimized code
#2 added auto-calculate on changing selection of items in dropdown "Layers" list and modes
#3 added auto-calculate on changing selections topology
#4 refresh list on selection changing
NOTE: #3 and #4 works only in "Select Objects Only" mode

More by Branko Živković

View all contributions
Comments (5)

brandon · 2016-06-30

That is awesome, thanks! Any chance for auto update?

Branko Živković · 2016-06-30

Auto update for what?

brandon · 2016-06-30

Ah sorry, I meant to say have the count auto-update as you modify objects so the numbers displayed are always a current reflection of the triangle count.

Branko Živković · 2016-06-30

Just press calculate again. Auto-update will slow-down everithing if picked layer contains too meny objects. That's why I don't integrated this option

brandon · 2016-07-01

Hmm, I see what you mean. Could it be added as a toggle? That way lighter layers can make use of auto update and for heavier layers the user could disable it? I only persist because when you're removing triangles to reach a budget, it can be quite easy to go too far under budget and waste time as well as have the model look worse than it would be if it were at count, otherwise you'd have to spend more time adding that detail back in.

Sorry to be a pain, I really do appreciate you making this :)