Hide | Unhide MtlID Faces

2 votes
Version: 
1.2
Date Updated: 
03/09/2013
Author Name: 
Branko Živković

••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• VERSION 1.2

With this tool you can easely hide-unhide, set-get or select E-Poly object faces by material ID.

Additional Info: 

Script works only with single Editable Poly objects without assigned modifiers.
The interface of the script will change every time when you pick different object.

••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• Update: [version 1.1]
-> Fixed flickering and dialog size issues (suggested by miauuu)
-> UI improvements
-> Added tooltip over top label with some infos about current selection
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• Update: [version 1.2]
-> Now you can get, set or select face MtlID
(NOTE: "get" operation works only on single selected faces)
-> Added two more options (suggested by titane357):
DOUBLECLICK on blue label (shows selection name) - UnhideAll faces
RIGHTCLICK on blue label (shows selection name) - Refresh faces

Requested by titane357

Version Requirement: 
2010+
AttachmentSize
bga_hide_unhide_mtlid_faces_v1.1.ms6.26 KB
bga_hide_unhide_mtlid_faces_v1.2.ms8.42 KB

Comments

Comment viewing options

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

Thanks a lot !

Thanks a lot !

barigazy's picture

@titane357

About your suggestions:
> 1st option *hide all ids* not make any sense.
And one more reason is why max not have this option.
If you accidentally deselect object you need to open "Select by name" dialog to find your "dead" object.
> 2nd option *hide all ids* is added. Just you need to DOUBLECLICK on blue (object name) label (works only if object is selected)
> 3rd option *refresh* is added also. Just you need to RIGHTCLICK on blue (object name) label (works only if object is selected).

I hope this will be helpful to you somehow. At least add +1

:)

barigazy

titane357's picture

really nice tool !!! :-) to

really nice tool !!! :-)
to be the perfect one I'd be nice to have 3 more buttons :
- one to hide all ids*
- one to show all ids*
- one to refresh the window if we add a new matid (so no need to relunch the script)
Thanks a lot, very usefull to work with multi sub objects.
Thanks to miauu too :-)

* : http://www.scriptspot.com/forums/3ds-max/general-scripting/is-it-possibl...

barigazy's picture

;)

Two new updates as I promised.

barigazy

barigazy's picture

Thanks guys

Thanks guys.
Tomorrow I will post new version.
Cheers!

barigazy

titane357's picture

Can't wait to try this one...

Can't wait to try this one... Thanks. Need to look to dotnet one day :-)

miauu's picture

Hi, Branko! Good script. I

Hi, Branko!
Good script. I hope that titane357 will lear a lot from it
One suggestion - right now when I start the script the rollout go to height 440 and then shrink back to the smaller value. Can you change the height of the rolout to, for example, 10, so when you start the script the rollout will mimic the dropdown list behaviour?
:)

Comment viewing options

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