Call Updated Script - Panel v1.0


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: deshu diosh
Allows executing phyton code, which was edited with external editor, without restarting nuke. Based on script 'Call Updated Function' by Andreas Frickinger, just rewrited to be non-modal panel.
Requirements:
6.3 or later
Windows
25 Aug 2012
182

Original script:
http://www.nukepedia.com/gizmos/python/misc/call-updated-function/ 

Tools for nuke phyton devs. If you are using external editor to write code, and are bored with restarting nuke or copying your code to in-nuke script editor just to test, if its working, its a tool for you.


 


 

 

Installation:

To use it, import script to nuke built-in script editor, and execute. Then you should have a 'Call Updated Script' panel available in 'Pane' menu.


 


 

Usage and tips:

- Type in package name, module name (if it's in sub-package, type in it like: 'subPackage.module'), and function name with '()' (you can pass arguments as usual)
- On 'Execute' button hit, module is reimported, and function called.
- You can run as many instances of panel as you want (to execute multiple functions without retyping).

 

 


 

Screenshot:

 

 


 

Changelog:
v1 - initial release

Todo:
-  figure out, how to auto-init panel with 'meny.py'
-  remeber settings between nuke sessions

Please login in order to download these files.

Comments   

 
0 # Alexey Kuchinski 2012-08-25 13:02
Hi, thanks for sharing, can you please write small example what exactly you writing in fields
Package
Module
Function
Thank you.
 
 
0 # Donald Strubler 2012-08-25 20:49
Does this have features beyond using 'reload( name.py>)'
 
 
0 # deshu diosh 2012-08-26 01:14
Donald Struber: basically not. Just a convenient way to reload a module and execute a function.

Alexey KuchinskY: i've uploaded the screenshot, and updated info. Hope it helps.
Package stands for the folder name, which is in the same dir as 'menu.py'
Module is the name of subfolder (optional), and the script file name (this is the file that needs to be updated).
 

You have no rights to post comments

We have 5290 guests and 118 members online