Notifications
Clear all
[Closed] #callback code – Help
Feb 04, 2014 7:02 am
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
Feb 04, 2014 7:02 am
There is no such callback.
There are ways to get to something close, but they’re not pretty.
Feb 04, 2014 7:02 am
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.