I would probably monkey-patch nukescripts.create_read (or re-bind the hotkey/menu item to a custom function) to process your input paths before creating the Read node(s). That plus a knobChanged function to handle modifications to existing nodes should get you what you’re after.
-Nathan From: coreydrake Sent: Monday, October 24, 2011 11:58 AM To: [email protected] Subject: [Nuke-python] Re: Setting stereo views within a callback Thanks! Works perfectly. While I'm on the subject, I'm curious if you might have any ideas about this. The callback works great for knob changed. In this case, I'm just taking _l_ or _r_ and turning it to _%v_. I was hoping this would also work for when an image sequence is initially loaded but unfortunately it doesn't. Do you know of a way I might be able to have a callback run when a file path is selected when the read node is created? -------------------------------------------------------------------------------- _______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
_______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
