def nimProjectReloadScripts(): try: P.info('Reloading Scripts') import nim_core.nim_prefs as nimPrefs import nim_core.UI as nimUI import nim_core.nim_api as nimAPI import nim_core.nim_file as nimFile import nimHieroConnector as nimHC #import nimHieroExport as nimHExport import nim_nukeStudioUI as nimNS_UI import nimProcessorUI import nimShotProcessor reload(nimPrefs) reload(nimUI) reload(nimAPI) reload(nimFile) reload(nimHC) #reload(nimHExport) reload(nimNS_UI) reload(nimProcessorUI) reload(nimShotProcessor) if nuke.env[ 'studio' ]: nimFile.scripts_reload() P.info('Scripts Reloaded') except Exception, e : print 'Sorry, there was a problem reloading the NIM scripts...' print ' %s' % traceback.print_exc()
def nimReloadScripts(): nimFile.scripts_reload()
def reloadScriptsAction(): nimFile.scripts_reload() print 'NIM: reloadScriptsAction'