Package nukescripts :: Module execute
[hide private]
[frames] | no frames]

Source Code for Module nukescripts.execute

 1  # Copyright (c) 2009 The Foundry Visionmongers Ltd.  All Rights Reserved. 
 2   
 3  import re 
 4  import nuke 
 5  import nukescripts 
 6   
7 -def execute_panel(_list, exceptOnError = True):
8 # If we're called by Tcl, _list is actually a string with nodes names that 9 # are space separated. 10 if type(_list) is str: 11 nodes = [nuke.toNode(x) for x in _list.split()] 12 else: 13 nodes = _list 14 return nukescripts.showExecuteDialog(nodes, exceptOnError)
15