Hi,

I've got a Render Gizmo here that has a disabled Write node inside it. I'm using this Write node to access certain internal functionalities of the Write node, including creating link knobs for both Format and ColourSpace.

The other knob that I'm linking is Views. However, with this knob, I want to hide/show it based on other knobs in my Gizmo.

I've called my linked knob "render_views":

 addUserKnob {41 render_views l Views T Write1.views}

I don't seem to be able to hide this knob, by either hiding the knob on my Gizmo or by hiding the knob it's linked to.

I've tried both of the following methods:

    n['render_views'].setVisible(False)

and

    with n:
        w = nuke.toNode("Write1")
        w['views'].setVisible(False)


Any idea how I can do this?

I did try adding a MultiView_Knob to my node, but this didn't serialize out properly - it ended up in the gizmo as:

 addUserKnob {0 render_views l Views}

Any ideas?

Cheers

Hugh

_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to