
Originally Posted by
jordanw
In fact, id like to know how to access ANY knob that has different values per view.
Just realized I didn't answer that...
All knobs whose class inherits from the Array_Knob class can have different values for each view.
For those, you can access the value for a specific view by using the 'view' parameter with the 'value' function (or the 'getValue' function).
Example :
Code:
n = nuke.nodes.Blur()
n['size'].splitView()
n['size'].setValue(10, view='left')
n['size'].setValue(20, view='right')
print n['size'].value(view='left')
print n['size'].value(view='right')