• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Scripting Issue fumeFXcmd
#3
This is a great workaround and it works but it just runs the post script over and over. So the wavelet keeps running, finishing and runs again. I'm sure there is a way to only have it run once, I am still pretty new to scripting.

-----

The reason I thought they were attempting to run at the same time was because the only file to be written out was the wt_.fxd It seemed the default sim wasn't even attempted. I'm seeing a lot of weird consistency when it comes to the order in which the code is executed.

For Example in Mel

Code:
FumeFXcmd -runSimulation 0 "fumeFXShape1";
FumeFXcmd -makePreview 1 10 5 0 "fumeFXShape1";

This works great, runs sim and then a preview

With Python

Code:
import maya.cmd as mc
mc.fumeFXcmd( "fumeFXShape1", runSimulation=0)
mc.fumeFXcmd( "fumeFXShape1", makePreview=[1, 10, 5, 0)]

runs the preview first and then the sim which is no good

-----

I'm looking forward to Fume 4.0 for Maya and I'm hoping it will come out soon.

Thanks again for your help,

-Kjell
  Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)