Sitni Sati Forums
Continue sim via maxscript - Printable Version

+- Sitni Sati Forums (https://forum.afterworks.com)
+-- Forum: Products (https://forum.afterworks.com/forumdisplay.php?fid=4)
+--- Forum: FumeFX [max] (https://forum.afterworks.com/forumdisplay.php?fid=8)
+--- Thread: Continue sim via maxscript (/showthread.php?tid=1168)



Continue sim via maxscript - Jordan - 05-04-2011

Running the function ($.ContinueSimulation 1) brings up a dialog and asks if you want to continue. Is there a way to automate this without resorting to DialogMonitorOPS? If not it would be nice to have the option Smile


Re: Continue sim via maxscript - jrand - 05-06-2011

Like a quiet/silentMode?

That could be useful. Curious, is this in case a sim happens to stop for some reason or another and you would like it to resume auto-magically?


Re: Continue sim via maxscript - Jordan - 05-10-2011

Yeah, quiet mode!. With my deadline simulation scripts I have found that sometimes fume will just stop at a random frame. I have a function that will count the files that it thinks should be there and if its different it can flag it as an error and deadline will restart the sim, but it would be handy if we could continue rather than start from the beginning again. This is all done via a maxscript job through deadline so we need full automation via maxscript. I can actually get deadline to handle the pressing of the "yes" button but its based on the dialog title which is in this case a generic "FumeFX" and may press "Yes" in situations that are undesirable.


Re: Continue sim via maxscript - sitnisati - 05-16-2011

Hello,

That's added on a todo list.

Thanks

Kresimir


Re: Continue sim via maxscript - Jordan - 08-11-2011

Hi Kresimir,
This issue is becoming a bit of an issue for us. I have tried to handle the message box in deadline with their popup handlers and even have a custom .exe to press the yes button if it finds it but it still errors the network job.
The deadline guys think it may be that triggering a popup in network slave mode may cause FumeFX to error.
Here is the discussion on the deadline forums:
http://forums.thinkboxsoftware.com/view ... =11&t=5958

I wonder if there is any possibility to get a patched FumeFX that has the "quiet" mode mentioned above.

We are running FumeFX 2.1c on 3dsmax 2010


Re: Continue sim via maxscript - Jordan - 08-15-2011

More details on this issue:
If I run max in Workstation mode through deadline it works fine, it seems that the continue sim message box is doing weird stuff in slave mode.
We could run it like this but we dont have enough max licenses to run every net sim in full workstation mode.

Mode Deadline details can be found here:
http://forums.thinkboxsoftware.com/view ... =10#p24087


Re: Continue sim via maxscript - sitnisati - 09-08-2011

Hi Jordan,

When 3ds max is in slave mode ( we use InSlaveMode() function call to check the state ), then no dialog boxes should pop up at all. Instead, we use Log()->LogEntry(SYSLOG_INFO or SYSLOG_ERROR, NO_DIALOG,... ) to report dialog message.
However, I can see one mistake that could cause stop/continue to exit in this case. Please send me an email and I will send you an update.

Kresimir