Jump to content

Automatically Change parameters on lights while being inside of a Subnet

Recommended Posts

Hi guys,

I was wondering if it is there any way to change certain object's parameters depending on whether I'm inside of a subnet or not.

Basically my problem is that I have a rendering subnet hda, which allows me to only render stuff that is inside, or referenced inside my subnet.
But the issue is that if I have multiple subnets in my network with multiple lights in them, every light is visible in the viewport, making it hard to work with lights, since everything is visible and added together making the entire screen look blown out.

I know I can disable the "Enable in Viewport" checkbox on my lights manually, but it would be awesome if it would be possible to only enable that checkbox on my lights when I'm actually inside my subnet and disable them when I go out from it automatically.

In case anyone has any ideas on how to achieve this, I would appreciate if someone could nudge me in the right direction.

Thanks in advance for any help!


Edited by LaszloFX

Share this post

Link to post
Share on other sites

Oh boy, sorry for the multiple topics, for some reason it created more than one.
If any moderators are out there would you mind deleting all of the topics, except one?

Thank you and sorry again!

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now