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

From VFXPedia

Jump to: navigation, search

Contents

QueueManager - RenderJob : GetSlaveList

Arguments

GetSlaveList()

Returns

A table of RenderSlave objects currently listed in the queue manager or what slaves are being rendered by the associated RenderJob object.

Remarks

This function returns a table with RenderSlave objects that represent the slaves currently listed in the queue manager. Like any other object within fusion, these objects have attributes that indicate information about the status of the object. For examples of how to use these attributes, see the RenderManager Status script included with Fusion's installation.

To find out the slaves currently being used by a particular job, first get the RenderJob object (using GetJobList()), then call that job's GetSlaveList() function.

Requirements

  • eyeonScript 5.0
  • Fusion 5.0

Examples

qm = fusion.RenderManager
 
qm:ScanForSlaves()
 
slvlist = qm:GetSlaveList()
 
for i, slv in slvlist do
   print("Slave: "slv:GetAttrs().RSLVS_Name)
end


Tips for GetSlaveList (edit)

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