![mtoa plugin maya mtoa plugin maya](https://i.ytimg.com/vi/HclTLtrFpU0/maxresdefault.jpg)
Hi so i am Trying to render in maya a batch esentially via the sendCommans In Tops into python i keep getting a Error:Node Reported failure for callback ‘onCookTask’ I have read throw [ And dont completely understand what to do to may code to make it work i have tried using the code they said in that but seems i am doing some thing Wrong asistance will be apreciated This code is coppied that gives the erorr and if i try add it it still dosent work Please help also still very new to houini Code : import maya.cmds as cmds def reportUserLog(*args): message = for arg in args: message.append(str(arg)) message = ‘ ’.join(message) mel.eval(r'print": %s\n" ' % message) #Load all the elembic plugins into maya cmds.loadPlugin( ‘AbcExport.mll’ ) cmds.loadPlugin( ‘AbcImport.mll’ ) cmds.loadPlugin( ‘mtoa.mll’ ) #Find all the TransForms objects in the outliner in the top line of outliner nodes = cmds.ls(type= ‘transform’) #Gets the maya file location for us of this file so we can see what we need to export or how we need to use it fileLoc = cmds.file(q = True, exn = True) fileLocSplit = fileLoc.split('/') #This will export what it needs from the lighting scene if ‘render’ = fileLocSplit: tAttr(“defaultRenderGlobals.currentRenderer”, “arnold”, type=“string”) mel.eval('loadPreferredRenderGlobalsPreset(“arnold”) ') import l cmds.workspace(dir = ‘O:/houdinie_pdg_test/work/houdini_test_proj/assets/imageSequence’) tAttr('defaultRenderGlobals.imageFilePrefix', “O:/houdinie_pdg_test/work/houdini_test_proj/sh_002/render/maya/images/testingRen”, type = “string” ) mel.eval('mayaBatchRender() ')