hi,
I’m trying to cache a simple hair with no simulation on deadline without success using a python script and the Maya script job.
The Ornatrix plugin is loaded:
mel: pymel.core : INFO : Updating pymel with pre-loaded plugins: Ornatrix, renderSetup, hairPhysicalShader, GPUBuiltInDeformer, matrixNodes, stereoCamera, ikSpringSolver, deformerEvaluator, mtoa
I get this errors with three different commands :
cm = 'OxAlembicExport -ft '+str(start)+' -tt '+str(end)+' -r 1 "'+filePath+'" "'+ox+'"'**
print cm
mel.eval(cm)*
2018-10-31 12:03:14: 0: STDOUT: Error: line 1: Cannot find procedure “OxAlembicExport”.
STDOUT: line 1: line 1: Cannot find procedure “OxAlembicExport”.
cmds.file(filePath,typ="Ornatrix Alembic",force=True, options="renderVersion=1;useWorldCoordinates=1;fromTime="+str(start)+";toTime="+str(end)+";step=1;format=0;upDirection=2;exportVelocities=1;velocityIntervalCenter=0;velocityIntervalLength=0.5" ,pr=True, es=True )
STDOUT: Error: file:OXtoABC.mel line 1: RuntimeError: file OXtoABC.py line 92: Invalid file type specified: Ornatrix Alembic
pm.mel.OxAlembicExport( filePath, ox,ft=start,tt=end, r=1)
STDOUT: Error: file:OXtoABC.mel line 1: MelUnknownProcedureError: file language.py line 985: Error during execution of MEL script: line 1: Cannot find procedure “OxAlembicExport”.
thanks,
-Alex