I’m trying to fire a bit of maxscript code into our render nodes running corona.
The script tells corona to finish the frame and save out the progress it has (so we don’t lose the render)
I have been playing about with a script I found online that I thought would work, whereby it looks for the active max window and pushes in the macroscript from python - but this sort of thing is a bit hacky and could break on any small change (and it would only pick a random 3dsmax window if multiple were open)
What would be the best way to accomplish this? I basically need to be able to fire the python command through a Deadline monitor script (which is python) and get it to target the open copy of 3dsmax that is currently rendering.
Any ideas appreciated!