Disable knobs on a certain node with python
1 2 |
x = nuke.toNode("YourNode") x['knob'].setEnabled(False) |
To do this for all knobs, just put it in a loop:
1 2 3 4 5 |
x = nuke.toNode("YourNode") x['knob'].setEnabled(False) for i in x.allKnobs(): [i.name()].setEnabled(False) |
Execute writenode via python Welcome