Eyeon:Script/Reference/Applications/Fusion/Classes/RenderJob/GetFailedSlaves
From VFXPedia
< Eyeon:Script | Reference | Applications | Fusion | Classes | RenderJob
Contents |
RenderJob - GetFailedSlaves()
Arguments
slaves = GetFailedSlaves()
No arguments are required for this function.
Returns
- slaves (table)
A table of RenderSlave objects
Remarks
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().
Requirements
- eyeonScript 5.01
- Fusion 5.01
Examples
job = fusion.RenderManager:GetJobList()[1] slaves = job:GetFailedSlaves() print("The following slaves failed during the job ".. job:GetAttrs().RJOBS_Name ..":") for i,s = slaves do attrs = s:GetAttrs() print(" "... attrs.RSLVS_Name .. " (".. attrs.RSLVS_IP ..")") end
Results:
The following slaves failed during the job E:\projects\project.comp:
mickeymouse (10.0.1.135)
dangermouse (10.0.1.184)
Tips for GetFailedSlaves (edit)
EyeonTips:Script/Reference/Applications/Fusion/Classes/RenderJob/GetFailedSlaves