ScriptSpot

Script

Smart Include/Exclude Lights

By Wahooney · 2006-10-21

Version requirement
7; 6
Date updated
2005-03-17
Votes
9
Download
Download
Description

Includes or excludes objects from lights - just select lightsand objects you want to affect and click include or excludeand the selected objects will be included or excluded fromthe selected lights

Additional Info

Installation Instructions:

copy 'wtSmartGizmo.mzp' to your '3dsMaxScripts' folder.
start 3dsMax
in max goto maxscript/run script.../'3dsMaxscriptswtSmartGizmo.mzp'
exit 3dsMax
restart 3dsMax
Add 'SmartGizmo - Enable/Disable' and 'SmartGizmo Inspector' to a toolbar - key or quadmenu.
**The scripts can be found in 'Wahooney Tools' category.

Tags: Lights

Comments (2)

Anubis · 2010-02-10

Huh, I found many bad logical structured expressions, that mean bugs (in IF/THEN) + strange for me checks like - if lights has no objects in their Inc/Exc list then the script will not add anything, and if they have - the script will overwrite existing instead of just to append new one. The functions at the begining are Ok, so just keep working on ... ;)

[EDIT] Your script seems to me complicated (to edit it quickly) so I just wrote right now my version: http://www.scriptspot.com/3ds-max/scripts/quick-includeexclude-lights
I hope this help.

Best Regards
Anubis