nukescripts.executeInMainThread

nukescripts.executeInMainThread(call, args=(), kwargs={})[source]

Execute the callable ‘call’ with optional arguments ‘args’ and named arguments ‘kwargs’ i n Nuke’s main thread and return immediately.