There is already a thread on vfxtalk about this that has some advice in case anyone is interested. Pete
On Thu, Mar 3, 2011 at 9:48 PM, Pete O'Connell <[email protected]>wrote: > Hi I am trying to lock a viewer buffer to a certain node with a callback > but it is causing my viewer node to be always selected (and makes no other > node selectable). I am stumped. In this code I am using a NoOp node called > "thisVersion". Anyone have any ideas how to get this working, or done > something similar? > Here is what I have so far: > ######################################################### > def lockThisVersion(): > nuke.connectViewer(9, nuke.toNode("thisVersion")) > def callbackLockThisVersion(): > nuke.addKnobChanged(lockThisVersion,nodeClass='Viewer') > if __name__ == '__main__': > callbackLockThisVersion() > ##################################################### > > Help > Pete > -- > Pete > -- Pete
_______________________________________________ Nuke-python mailing list [email protected] http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
