I have a jobpreload.py script for nuke and I need certain actions to run depending on what version of nuke is being rendered. I tried a call to getplugininfoentry but I realized I do not know what valid string I need to pass to this function in order to get the version of software for that job. I looked up the plugin info entries in the job and saw ‘version=9.0’ and then tried the keyword version but the deadline plugin didn’t seem to like this.
I looked up the scripting guide for this call (GetPluginInfoEntry) but there were no examples of references that I could find for valid string inputs for this function. I am not even actually sure if this is the right call to make but it seemed like the logical choice.
How can I achieve getting the version of nuke being used in a job preload script so that I can setup my environment for different flavors of nuke?
Thanks.
cheers, Christian