Count By Layer

1 vote
Version: 
1.1
Date Updated: 
06/30/2016
Author Name: 
Branko Živković


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

Version Requirement: 
2012+
AttachmentSize
bga_countbylayer_v1.0.ms3.88 KB
bga_countbylayer_v1.1.ms5.87 KB

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
bacree85's picture

Hmm, I see what you mean.

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 :)

barigazy's picture

...

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

bga

bacree85's picture

Ah sorry, I meant to say have

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.

barigazy's picture

...

Auto update for what?

bga

bacree85's picture

That is awesome, thanks! Any

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

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.