ScriptSpot

Script

3DS Max Plugin Update - Lights Switch V2.0

By miledrizk · Credited author: Miled Rizk · 2023-08-04

Version
2.0
Date updated
2023-05-04
Votes
1
Description

This is an update for the plugin I wrote 6 years ago, called Lights Switch.
The reason behind the update was an e-mail from a user who had a small issue with a scene full of Cororna lights, where the script managed to turn all lights OFF, but for some reason failed to turn them ON again.
After inspecting the script, I recognized the bug and fixed it.

Basically, the script, when clicked, will go through all lights in the scene, and if any light is ON it will turn it OFF. On the other hand, if the script sees that all lights are OFF it will turn them all ON again.

Attachments

Tags: 3dsmax, macroscript, maxscript, autodesk, 3dsmax plugins, autodesk 3dsmax, 3dsmax scripts, 3dsmax lighting scripts, 3dsmax lighting, 3dsmax lights switch, scripting in 3dsmax, autodesk scripts, autodesk plugins