depending what you plan to do. I am always a bit uncomfortable with callbacks.
I would go for an expression as much i can.
Callback tent to re-evaluate things often to check if they have changed, which 
could slow your script on something complicated, as an expression is rock 
solid...
but as i said I am not too comfortable in callback
________________________________
From: Simon Björk [bjork.si...@gmail.com]
Sent: 13 May 2013 14:31
To: Nuke Python discussion
Subject: [Nuke-python] knobChanged vs expressions

Out of curiosity, what is best practice when dealing with simple operations? 
For example if I wanted to control a switch inside a group, would it be best to 
use an expression or a callback?
_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to