Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the cycloneslider domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home2/wacggq0abkde/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the cartel domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home2/wacggq0abkde/public_html/wp-includes/functions.php on line 6114

Warning: Cannot modify header information - headers already sent by (output started at /home2/wacggq0abkde/public_html/wp-includes/functions.php:6114) in /home2/wacggq0abkde/public_html/wp-content/plugins/simple-file-downloader/simple-file-downloader.php on line 292

Warning: Cannot modify header information - headers already sent by (output started at /home2/wacggq0abkde/public_html/wp-includes/functions.php:6114) in /home2/wacggq0abkde/public_html/wp-content/plugins/simple-file-downloader/simple-file-downloader.php on line 293

Warning: Cannot modify header information - headers already sent by (output started at /home2/wacggq0abkde/public_html/wp-includes/functions.php:6114) in /home2/wacggq0abkde/public_html/wp-content/plugins/simple-file-downloader/simple-file-downloader.php on line 294

Warning: Cannot modify header information - headers already sent by (output started at /home2/wacggq0abkde/public_html/wp-includes/functions.php:6114) in /home2/wacggq0abkde/public_html/wp-content/plugins/simple-file-downloader/simple-file-downloader.php on line 295

Warning: Cannot modify header information - headers already sent by (output started at /home2/wacggq0abkde/public_html/wp-includes/functions.php:6114) in /home2/wacggq0abkde/public_html/wp-content/plugins/simple-file-downloader/simple-file-downloader.php on line 296

Warning: Cannot modify header information - headers already sent by (output started at /home2/wacggq0abkde/public_html/wp-includes/functions.php:6114) in /home2/wacggq0abkde/public_html/wp-content/plugins/simple-file-downloader/simple-file-downloader.php on line 297

Warning: Cannot modify header information - headers already sent by (output started at /home2/wacggq0abkde/public_html/wp-includes/functions.php:6114) in /home2/wacggq0abkde/public_html/wp-content/plugins/simple-file-downloader/simple-file-downloader.php on line 298

Warning: Cannot modify header information - headers already sent by (output started at /home2/wacggq0abkde/public_html/wp-includes/functions.php:6114) in /home2/wacggq0abkde/public_html/wp-content/plugins/simple-file-downloader/simple-file-downloader.php on line 299

Warning: Cannot modify header information - headers already sent by (output started at /home2/wacggq0abkde/public_html/wp-includes/functions.php:6114) in /home2/wacggq0abkde/public_html/wp-content/plugins/simple-file-downloader/simple-file-downloader.php on line 300

Warning: Cannot modify header information - headers already sent by (output started at /home2/wacggq0abkde/public_html/wp-includes/functions.php:6114) in /home2/wacggq0abkde/public_html/wp-content/plugins/simple-file-downloader/simple-file-downloader.php on line 301
####################################################################################################################### __author__ = "Boris Martinez Castillo" __version__ = "1.0.1" __maintainer__ = "Boris Martinez Castillo" __email__ = "boris.vfx@outlook.com" ######################################################################################################################## def is_gizmo(node): return type(node) == nuke.Gizmo def gizmo_exporter(node,path): node = node name = node['name'].getValue() path = path + name + "." + "gizmo" print "PATH: ", path nuke.nodeCopy(path) return def batch_gizmo_exporter(path): print path node_list = [] for node in nuke.selectedNodes(): node_list.append(node['name'].getValue()) node['selected'].setValue(False) for name in node_list: n = nuke.toNode(name) print name n['selected'].setValue(True) print "IS GIZMO: {}".format(is_gizmo(n)) if is_gizmo(n): new_group = n.makeGroup() new_group['name'].setValue(name + "_togroup") new_group['selected'].setValue(True) gizmo_exporter(new_group,path) nuke.delete(new_group) else: gizmo_exporter(n,path) n['selected'].setValue(False) class Panel(nukescripts.PythonPanel): def __init__(self): nukescripts.PythonPanel.__init__(self,"b_gizmo_snatcher") self.size = self.setMinimumSize(650,160) #CREATE KNOBS self.filepath = nuke.File_Knob('snatch path: ') self.author = nuke.Text_Knob("www.boris-mc.com") self._help = nuke.Help_Knob("just select your snatch folder and click ok!","help") #ADD KNOBS for i in (self.filepath,self.author,self._help): self.addKnob(i) def main_function(): panel = Panel() if not panel.showModalDialog(): print "script aborted" return else: path = panel.filepath.getValue() batch_gizmo_exporter(path) if __name__ == "__main__": main_function()
Notice: ob_flush(): failed to flush buffer. No buffer to flush in /home2/wacggq0abkde/public_html/wp-content/plugins/simple-file-downloader/simple-file-downloader.php on line 325