Show / Hide group of layers

Hello, I'm looking for a script like this one: http://www.scriptspot.com/3ds-max/scripts/toggle-hide. The link for this one is dead.

Those someone know one?

Thanks for your help

Comments

Comment viewing options

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

Me again, I've tryed your

Me again,

I've tryed your script and it have some issue.

1- The button layer's buttons must be emty or else at first because the 0 (default) layer cannot be renamed.

2- For some reason, some layers that was not choose, was activate also. Dose that depens on the name on those layers?

Thanks for your help :)

miauu's picture

.

Here is the updated script: https://drive.google.com/open?id=1VbPN-kjY-GHzP8KZeh5bYM11otwRDn7S
It will not show layer 0 when you run it.

The "Toggle" button work as a toggle - the layers that are Off will be turned ON and the layers that are ON will be turned Off. The original script works the same way.

Spline's picture

Thanks Miauu, exactly what I

Thanks Miauu, exactly what I want!

Spline's picture

Thanks Miauu, very

Thanks Miauu, very appreciated

Almost what I want.

What about If I can choose multiple layers at the same time in the dropdown list? So I'm not limited to only two selection.

miauu's picture

.

You can't do this with a single dropdown list. Multiple ddl have to be used. Here is a version that allows 10 layers to be choosen:

https://drive.google.com/open?id=1q3qUpxXTedTKSJ5J0wwT5dRiFjnAmblg

miauu's picture

Comment viewing options

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