Quick Include/Exclude Lights

30 votes
Version: 
1.2
Date Updated: 
02/16/2010
Author Name: 
Anubis

qIEL_1.1

Select your objects and lights, choose I/E ops and check "Transfer..."
(if you like) to move existing obj(s) into the new I/E List.
Works on all geometry + renderable shapes (as original I/E feature designed).

Additional Info: 

Update:
v.1.2 - added Clean I/E List button
v.1.1 - added I/E Type toggle
v.1.0 - initial complete version

Tips:
[*] Just to transfer obj(s) b/w I/E lists - select lights only and check "Transfer..."
[*] Just to clean-up I/E list - select lights only and uncheck "Transfer..."
[*] "Clean" button will empty the I/E list keeping the rest I/E settings intact.

Version Requirement: 
any 3ds Max version
AttachmentSize
SmartIncludeExclude1.2.ms2.67 KB
SmartIncludeExclude1.1.ms2.18 KB
SmartIncludeExclude.ms1.5 KB

Comments

Comment viewing options

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

hardly ever

I not work with VRay and am almost sure you need to modify the code to work with vr-lights 'cause the properties names are different there. As tip will say - you need to find out the equivalent props of includeList, excludeList, inclExclType in your vr-lights.

my recent MAXScripts RSS (archive here)

shirak23's picture

Will this work with VRay

Will this work with VRay lights?

Anubis's picture

Thanks gyus

Thanks gyus

my recent MAXScripts RSS (archive here)

veneta's picture

You're big man, thanks !

You're big man, thanks !

noel_d3's picture

Thx Anubis ! :-)

Thx Anubis ! :-)

Anubis's picture

Hi Titane, first, yes, to

Hi Titane, first, yes, to make "clean" button not just clone feature I make it to work lightly different. Push "clean" will empty the current light list without change any settings, i.e. for example - if you have 2 lights selected, one has "include" and second has "exclude" then the script will empty the "include" list for the first and "exclude" list for the second light. Just simple (I hope), so not need to play with other dialog settings, i.e. "clean" button is come as independent (from the rest ui controls) action. And if you use "ok" button (with "transfer" off) then also will empty the lists, but the I/E list will toggle to chosen (I/E) and type will set to chosen (I/S/B) too.

If you still have in trouble with my description, then just make a few test (playing with the options) on 2 selected lights and after each test open their I/E list to see the result. But of course if something I can help, feel free to ask me.

my recent MAXScripts RSS (archive here)

titane357's picture

Thank you sooooo much Anubis

Thank you sooooo much Anubis :-))
Just the little thing I didn't understood at the first glance :
- to include all lights with "clean" button, you must first check "include" and click "ok" then click "clean"
- to exclude all lights (....) check "exclude" (..)

Anubis's picture

When is for you Titane, it's

When is for you Titane, it's already done ;)
Updated version 1.2 is in the attachment list, enjoy!

my recent MAXScripts RSS (archive here)

titane357's picture

Hello Anubis, I like this

Hello Anubis,

I like this plug but I would prefer a "clear" button to clear the e/i list :-))

Anubis's picture

Script updated - added

Script updated - added Include/Exclude type toggle.

my recent MAXScripts RSS (archive here)

Comment viewing options

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