Eyeon:Script/Reference/Applications/Fusion/Classes/RenderJob/GetSlaveList

From VFXPedia

Jump to: navigation, search

Contents

RenderJob - GetSlaveList()

Arguments

slaves = GetSlaveList()

No arguments are required for this function.

Returns

  • slaves (table)

A table of RenderSlave objects, containing all slaves that were assigned to this job.

Remarks

Requirements

  • eyeonScript 5.01
  • Fusion 5.01

Examples

job = fusion.RenderManager:GetJobList()[1]
slaves = job:GetSlaveList()
 
print("The following slaves were assigned to ".. job:GetAttrs().RJOBS_Name ..":")
for i,s = slaves do
   attrs = s:GetAttrs()
   print("   "... attrs.RSLVS_Name .. " (".. attrs.RSLVS_IP ..")")
end

Results:
The following slaves were assigned to E:\projects\project.comp:
mickeymouse (10.0.1.135)
mightymouse (10.0.1.137)
dangermouse (10.0.1.184)


Tips for GetSlaveList (edit)

EyeonTips:Script/Reference/Applications/Fusion/Classes/RenderJob/GetSlaveList