3D visualizations, maxscript, 3dsmax, vray

Maxscript_Lights_Switch

This is a small macroscript I created that will search for all the lights in a 3DS Max scene and will turn OFF any light that is ON. In case all lights are OFF clicking on the Button will turn them all back ON. I created this script for myself to avoid going through all the lights and turn them off in case I wanna some tests using one or few selected lights. I know there is a light lister but it’s not that practical. this script can be placed as a button on the toolbar, it’s always there.