Hi, I have a script that runs on maxstart for our artists and Im using isnetserver() to test if max is being run in server mode. If it is, it wont run. The problem I have is that we have some deadline maxscript jobs that are getting stopped by this script… is there a way to tell via maxscript if max was launched by deadline so I can have the script not run?
Max 2009 64bit on Deadline 3.0 XP64
The typical thing we do is check whether the Interface DeadlineUtil is defined or undefined. It is exposed by the Lightning.dlx which serves as connection between Deadline and Max. So you can test ‘if deadlineUtil == undefined do…’ and act accordingly. If the Interface IS defined, you can use the functions it exposes to read info about the job or output info in the Slave log and so on and make an even more informed decision about what should run, but the sole presence of the Interface might be enough to decide.