Frames Per Task via onsubmit event script

Hi,

I have an OnSubmit event script, I wanted to change the frames per task of specific jobs when they appear on the farm but job.JobFramesPerTask is a read only property (why?) - does anyone have a quick solution for that? I don’t want to modify the frame range, just the task or chunk size.

Thanks!

All good:

                framerange = job.JobFramesList
                framerange = ", ".join(str(item) for item in framerange)
                tasksize = 10
                RepositoryUtils.SetJobFrameRange(job, framerange, tasksize) 
1 Like