Notifications
Clear all

[Closed] #callback code – Help

Any one know the callBack code for “Submit to Network Rendering”
operation?
How can i get the list of callbacks codes that i can`t find in maxscript help?

Thanx

4 Replies
 lo1

There is no such callback.

There are ways to get to something close, but they’re not pretty.

Hi Rotem,
Can you direct me for one way?
DotNet maybe?
:shrug:

 lo1

This is how I did it in the past:

  • Find the location of Backburner.xml. This varies depending on version of 3dsmax and backburner.
  • Add a #MainWindowEnabled callback, to catch when the 3dsmax window gets disabled.
  • When it does, start a dotnet timer with a short interval.
  • When the dotnet timer fires, check if any window has the properties of the backburner submission window, such as if the window text starts with “Network Job Assignment”.
  • If you found this window, add a dotnet FileSystemWatcher to watch for changes to Backburner.xml.
  • When the dotnet watcher fires, a job was most likely just sent.
  • Curse Autodesk for not making this easier.

I will do the last step twice.