Need help with scripting

I’m creating a event script to run on sequence files and I have reached the point where I need to take a generated Fusion comp file and submit it to deadline.

I am having a hard time understanding the elements for a job file and the best way to go about generating one. I have looked at the QT example in the help files but it doesn’t shed much light on the required elements needed for a job file and how to submit it. Is there any further document ion on creating a deadline job file and submitting it to deadline?

thanks

This should help:
thinkboxsoftware.com/deadlin … o_Deadline

To look at fusion specific options for the plugin info file, you can submit a normal Fusion job to Deadline, right-click on it in the Monitor and select Explore Repository Directory, and then look at the fusion_plugin_info.job file.

Cheers,

  • Ryan

that is exactly what i needed. as always you rock russell. My Frankenstein code is complete now…it’s alive aliiiiive.

I have another question in this area. I’m trying to make this script set a job dependency for the job it creates using the job that triggered it. I’ve tried multiple route but none of them seem to make a difference. I am using the StreamWriter to build the file much like in the QT example. Here is the line I’m using for setting the job dependency.

writer.WriteLine( “JobDependencie0=%s” % job.JobId )

The only effect I seem to make on the created job file is the file contains a but no open tag and no job ID.

any thoughts?

strike that figured out my issue.

If anyone else comes across this post looking for this info I found this page most helpful

thinkboxsoftware.com/deadlin … _Info_File