To get a Rendered Job’s scene file path I’ve been using
job.GetJobPluginInfoKeyValue('SceneFile')
.
But by some reason 3DS Max jobs return None on
job.GetJobPluginInfoKeyValue('SceneFile')
.
I thought GetJobPluginKeyValue(‘SceneFile’) is consistent from one type of the rendering job to another. Apparently it is not.
Is there any other way to query what Scene File was rendered with a job?
Generally speaking it is consistent, but if the SceneFile was submitted into the repository instead of being referenced, then “SceneFile” will return None, as the SceneFile can be assumed to be in the job’s Aux directory in the repository.
RepositoryUtils.GetJobAuxiliaryPath(job)
will return a job’s aux directory path on the repository.