Call Updated Function

For lazy developers: Use this to update a module, which is edited externally. After reloading, this will call the given function out of the module

Updated: 6 June 2010

Author: andy.frickinger

Compatible Nuke versions: 5.2 or later

Compatibility: Linux, Mac, Windows

This is ment for lazy developers ;-) ...

If you are working in an external editor to handle your Python scripts, this gives you a convenient possibility to reload the module you are currently working on and in the same step call the function you are editing.

When calling "callUpdatedFunctionPanel()" this will pop up a Panel, where you can put in your package, module and function(), you are working on. Executing will reload the module and execute the function. When reopening the Panel, variables still will be stored, so you test your function over and over again with just one click, without having the Nuke internal script editor being occupied.

cheers,
andy

Sign in or register to download or rate.