Select Vraylight and off
Hi,
I have a problem in one script and I'm need a help please.
I am selecting a series of lights, some VRayLight and others do not. To turn off some lights use $lights.enabled = off, but some lights use the command $lights.on = off as an example are the photometrics and Vraylights ... When I use $lights.on = off gives the following error "- Unknown property:" on "in $ VRaySun: @ Sun_Cam_portaria [149.746979, -227.845520,0.000000]" How do we work? There is a class for vraylights?
thanks
Kim
Comments
Just create rollout with two
Just create rollout with two buttons ("On" and "Off")
and then you can toggle lights on-off.
Cheers!
bga
Very very good. worked very
Very very good.
worked very well
perfect and clean
Just put the basic script I'm doing.
Thanks...
kimarotta.com.br
3d Artist
And this is the shorter
And this is the shorter version
Tested and works fine.
Also work on the Daylight System
Now supports and FinalRender Lights
bga
good
Hey Man very thanks...
I will test and send feedback..
kimarotta.com.br
3d Artist
I added twice
I added twice "VRayAmbientLight".
I corrected the previous code.Copy again and try.
bga
TurnTheLights (ON or OFF)
You decide which state you need (on or off)
Supports all: VrayLights, mrLights, Standard and Photometric
Use this function.
bga