ScriptSpot

Script

Quick Include/Exclude Lights

By Anubis · 2010-02-10

Version
1.2
Version requirement
any 3ds Max version
Date updated
2010-02-16
Votes
30
Description

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.
Attachments

Tags: Lights, tool, light, list, anubis, include, exclude

Comments (12)

shirak23 · 2011-05-03

Will this work with VRay lights?

hardly ever

Anubis · 2011-05-03

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.

Anubis · 2010-04-25

Thanks gyus

veneta · 2010-04-25

You're big man, thanks !

noel_d3 · 2010-02-20

Thx Anubis ! :-)

Anubis · 2010-02-17

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.

titane357 · 2010-02-17

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 · 2010-02-16

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

titane357 · 2010-02-16

Hello Anubis,

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

Anubis · 2010-02-13

Script updated - added Include/Exclude type toggle.

Anubis · 2010-02-12

Thanks for the comment!

About - Remove Objects from Include/Exclude - I already insert "how to" in tips notes ;) (i.e. select only lights and uncheck "transfer...").

About second option - it's a good idea and I'll keep it in my mind in the next script update.

Cheers
Anubis

noel_d3 · 2010-02-12

Thank you for the rewrite of this old script.

We can adding maybe some features, like :

v Remove Objects from ... ° Include ° Exclude

And the possibility in the Exclude/Include menu of selected lights to choose ° Illumination ° Shadow Casting or ° Both

Thank you again
Best regards,

Léon