Hello All!! Quick question here. Im trying to create a custom render layers script (bare with me here). I created all my renderLayerButton controls, but what I need to do it seems is somehow connect them to a custom node to get the buttons on the renderLayerButton widget to update correctly.
How can I connect the different buttons on the widget to attributes on my custom node? For example if i have a renderable attribute on my custom node id like that attribute to connect the renderable button on my renderLayerButton widget so if either is clicked they both update....
thanks for all the help!
Edit:
Using callbacks wont work because the renderLayerButton command is tricky. I cant set certain attributes such as
renderLayerButton -e -isRenderable 0 rndrLyrBttn01;
these attributes can only be queried so there must be a way to connect them somehow since it appears thats how the default renderLayer's work. Thanks!!