Hey gang,

Is there any way that I can make a new knob and add it to a node through
Python, without the UI panel for that node changing? I want the knob
addition to be completely transparent to the user.  They shouldn't even
know it is happening.  I'm currently doing this:
                tab = nuke.Tab_Knob('fac', 'fac')
                tab.setVisible(False)
                tab.setFlag(0x0000000000000400)
                thisNode.addKnob(tab)
                knob = nuke.String_Knob('oldName', 'oldName')
                knob.setVisible(False)
                knob.setValue(node_name)
                thisNode.addKnob(knob)

Which works, but the UI changes tabs when this happens.

John Vanderbeck
Technical Artist
Digital Domain Media Group

NOTICE: This communication may contain privileged or other confidential
information. If you have received it in error, please advise the sender
by reply email and immediately delete the message and any attachments
without copying or disclosing the contents. Thank you. 




_______________________________________________
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