• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Continue sim via maxscript
#1
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
Jordan Walsh
VFX Technical Director

Showreel 2012
Check out my scripts on ScriptSpot!
  Reply
#2
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?
blower of smoke ..ooOO
  Reply
#3
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.
Jordan Walsh
VFX Technical Director

Showreel 2012
Check out my scripts on ScriptSpot!
  Reply
#4
Hello,

That's added on a todo list.

Thanks

Kresimir
  Reply
#5
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
Jordan Walsh
VFX Technical Director

Showreel 2012
Check out my scripts on ScriptSpot!
  Reply
#6
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
Jordan Walsh
VFX Technical Director

Showreel 2012
Check out my scripts on ScriptSpot!
  Reply
#7
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
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)