< Previous | Contents | Next >

Methods

RenderJob.ClearCompletedFrames()

Clears the list of completed frames, restarting the render.

RenderJob.GetFailedSlaves()

Lists all slaves that failed this job.


image


This function returns a table containing all slaves that were assigned to this job but have been unable to load the comp, or to render a frame that was assigned to them.

These slaves are no longer participating in the job, but can be added back to the job by using RetrySlave().

> Returns: failedslaves

> Return type: table

RenderJob.GetFrames()

Returns the total set of frames to be rendered.

> Returns: frames

> Return type: string

RenderJob.GetRenderReport()

GetRenderReport

RenderJob.GetSlaveList()

Gets a table of slaves assigned to this job.

> Returns: slaves

> Return type: table

RenderJob.GetUnrenderedFrames()

Returns the remaining frames to be rendered.

The frames in the returned string is separated by commas. Contiguous frames are given as a range in the form <first>..<last>.

> Returns: frames

> Return type: string

RenderJob.IsRendering()

Returns true if job is currently rendering.

> Returns: rendering

> Return type: boolean

RenderJob.RetrySlave([slave])

Attempts to reuse slaves that have previously failed.

The job manager will place them back on the active list for the job, and attempt to assign frames to them again.

slave a RenderSlave object, assigned to this job, that has previously failed to render a frame assigned to it. If slave is not specified, all failed slaves will be retried.

> Parameters:

slave (RenderSlave) – slave


image


RenderJob.SetFrames(frames)

Specifies the set of frames to render.

frames a string with valid formatting for frames to be rendered by the job. Frame numbers should be separated by commas, without spaces, and ranges of frames are denoted by

<first>..<last>.


image

# Set the frames to render on the first job in queue


job = fusion.RenderManager.GetJobList()[1]

job.SetFrames(“1..50,55,60,75,80..100”)

> Python usage:



image

-- Set the frames to render on the first job in queue


job = fusion.RenderManager:GetJobList()[1]

job:SetFrames(“1..50,55,60,75,80..100”)

> Lua usage:



> Parameters:

frames (string) – frames

RenderJob._Heartbeat()

_Heartbeat