Re: [Nuke-users] adding a user knob to a default node

2011-03-18 Thread Ivan Busquets
I think the most adequate options would be: A- Make a onUserCreate callback that adds your custom userKnob every time a CornerPin node is user-created or... B- Override nuke.createNode with your own function, and check in there whether the node being created is a CornerPin. If it is, then you can

Re: [Nuke-users] adding a user knob to a default node

2011-03-18 Thread Johan Boije
You are not alone in wanting more copy back and forth functions in the cornerpin node. So if you are not dying to do this yourself this has already been done by others: http://www.nukepedia.com/gizmo-downloads/transform/better_cornerpin/ http://www.nukepedia.com/python-scripts/misc/im_cornerpin/

Re: [Nuke-users] adding a user knob to a default node

2011-03-18 Thread glouk
thank you very much. i'll try method A Johan, the code is already written. I'm just looking for a way to include it automatically. But thanks for the links, i'll have a look. cheers Le vendredi 18 mars 2011 08:14:21, Ivan Busquets a écrit : I think the most adequate options would be: A-

Re: [Nuke-users] adding a user knob to a default node

2011-03-18 Thread Johan Boije
Aha. Share on Nukepedia if you can. We can never have too many cornerpins. That copy functionality should really be there out of the box as well as an invert button me thinks. But that's the beauty of customization I guess, if it's not there just build it yourself. J. On Fri, Mar 18, 2011 at