06-28-2015, 12:04 PM
hi,
I want to run multiple simulations sequentially, i.e. one after another, however I cannot find a way to do that in MEL script. Obviously, the MEL command "fumeFXcmd -runSimulation simMode fume;" spawns a simulation thread and returns control to the caller and I cannot find a function to tell whether the spawned fumeFX simulation thread has been completed or not. What I wish I had is either: (1) a fumeFX callback that tells me : I am done simulation (so I am ready to run another simulation, or maybe start rendering...), OR (2) a fumeFX function that tests whether a simulation job has completed or not.
Without having this functionality, I have to set in front of my PC and wait for one sim to finish, then start the other one manually...
Thanks in advance,
I want to run multiple simulations sequentially, i.e. one after another, however I cannot find a way to do that in MEL script. Obviously, the MEL command "fumeFXcmd -runSimulation simMode fume;" spawns a simulation thread and returns control to the caller and I cannot find a function to tell whether the spawned fumeFX simulation thread has been completed or not. What I wish I had is either: (1) a fumeFX callback that tells me : I am done simulation (so I am ready to run another simulation, or maybe start rendering...), OR (2) a fumeFX function that tests whether a simulation job has completed or not.
Without having this functionality, I have to set in front of my PC and wait for one sim to finish, then start the other one manually...
Thanks in advance,

