FumeFX over batch


#1

Hi.

I’m doing some pipeline work at the moment. I’m trying to setup FumeFx/Maya to sim over mayabatch.exe (in order to send sims to the farm).

When trying to send this to the farm (or executing locally through a .bat-file):


“C:\Program Files\Autodesk\Maya2013\bin\mayabatch.exe” -proj C:_projects_rnd\maya -command "source "C:/_projects/_rnd/maya/source.mel\ “” fume_01.mb

(in the file source.mel there’s just one line at the moment: ffx_startSim “fumeFXShape1”:wink:

I get this:


pymel.core : ERROR : Failed to get command list from FumeFX
pymel.core : ERROR : Failed to get depend nodes list from FumeFX

Error: Cannot find procedure “ffx_startSim”.

When executing ffx_startSim “fumeFXShape1” inside a Maya-session (through script-editor) FumeFX starts simming and caching.

Now, is that related to an license issue (SL-license?) or can’t fumeFX being simulated with mayabatch? … was reading somewhere it needs Backburner for network simming

Thanks for any help


#2

[font=Arial]Hello Boris,[/font]

[font=Calibri","sans-serif]-The main question is, can I run a FumeFX sim overmaybatch or does it has to be inside a maya session? … (Backburner is notinstalled as I never used that so far) [/font]

[font=Arial]Yes, you can do that.[/font]

[font=Arial][/font]
[font=Calibri","sans-serif]-Now, is that relatedto an license issue (SL-license?) or can’t fumeFX being simulated withmayabatch? … was reading somewhere it needs Backburner for network simming[/font]

[font=Arial]No. You are not doing batch simulation. You are doing regularsimulation in batch mode - you don’t need SL license for that.[/font]

[font=Calibri","sans-serif]-“C:\ProgramFiles\Autodesk\Maya2013\bin\mayabatch.exe” -proj C:_projects_rnd\maya-command "source "C:/_projects/_rnd/maya/source.mel\ ""fume_01.mb[/font]

[font=Arial]Please try the following syntax:[/font]
mayabatch.exe -filepath_to_file.mb -script mel_file_to_source.mel[font=Calibri","sans-serif][/font]

[font=Arial]-For more info on sourcing scripts from mayabatch, please consult[color=#fffffe]maya2013manual pages.[/font][/color]

[font=Arial]As for -proj flag, it seems it’s creating problemsin this context. We’ll look into that.[/font]

[font=Calibri","sans-serif]-I get this: [/font]

[font=Calibri","sans-serif]------------------------- [/font]

[font=Calibri","sans-serif]pymel.core : ERROR :Failed to get command list from FumeFX [/font]

[font=Calibri","sans-serif]pymel.core : ERROR :Failed to get depend nodes list from FumeFX [/font]

[font=Calibri","sans-serif]Error: Cannot findprocedure “ffx_startSim”. [/font]

[font=Arial]We were not able to reproduce that error; seems pythoninterpreter is being called instead of MEL interpreter. Since both your scriptextension (.mel) and script syntax are correct (MEL), that shouldn’t happen.[/font]

[font=Calibri","sans-serif]-in the file source.melthere’s just one line at the moment: ffx_startSim “fumeFXShape1”;[/font]

[font=Arial]Please download the latest FumeFX because FumeFX 3.5.3introduced full scripting support (MEL and Python). For instance, instead of"hacking" simulation start by calling ffx_startSim “fumeFXShape1”, you would call fumeFXcmd-runSimulation 0 “fumeFXShape1”.[/font]

I hope this helps.

Regards,

Kresimir Tkalcec