While inside of the Deadline Plugin function I can query its JobKeys values using:
GetConfigEntry( “JobKey” )
But is it possible to query a JobKey from another Deadline Plugin (a plugin registered with Deadline using Tools/Configure Plugings Dialog box)?
Let’s say every time RV Plugin is called it queries an executable path of Python Plugin. How could it be accomplished? Many thanks in advance!
Something like this:
GetConfigEntry( “PluginName”, JobKey" )
Hello,
That is not a feature that is currently available, though I would be happy to pass this along as a feature request for a future build.
Cheers,
Hello,
In talking to the devs, they mentioned that Deadline added a scripting function in RepositoryUtils called GetPluginConfig. You can use that to do what you wants. This function is documented in the scripting reference that can be downloaded from here:
thinkboxsoftware.com/deadlin … ne-4-2013/
Hope that helps.
Unfortunately the docs are very short of this command’s description. It would be great if a real-world example is posted showing a proper syntax and flags. Thanks in advance!
5.23.2.41 static PluginConfig Deadline.Scripting.RepositoryUtils.GetPluginConfig ( string pluginName ) [static]
Gets the configuration settings for a plugin.
Parameters
pluginName The plugin name.
Returns : The plugin configuration.
5.23.2.42 static PluginConfig Deadline.Scripting.RepositoryUtils.GetPluginConfig ( string customPluginDirectory, string pluginName ) [static]
Gets the configuration settings for a plugin.
Parameters
customPlugin-Directory: A custom directory to get the plugin config from.
pluginName: The plugin name.
Returns: The plugin configuration.
I can definitely see if one of the devs could write such a thing up when they have some spare time.