< Previous | Contents | Next >

RenderSlave

class RenderSlave

Parent class: LockableObject

Represents a RenderSlave.


image


RenderSlave Attributes


Attribute Name

Type

Description

RSLVS_Status

string

The current status of the slave.

RSLVN_Status

number

The current status of the slave as number.

0. Scanning

1. Idle

2. Failed

3. Busy

4. Assigning Job

5. Connecting

6. Checking Settings

7. Loading Comp

8. Starting Render

9. Rendering

10. Ending Render

11. Disconnecting

12. Offline

13. Disabled

14. Unused

RSLVS_IP

string

The IP address of the slave machine.

RSLVID_ID

string

The ID of the job.

RSLVS_Name

string

The network name of the slave being used.

RSLVB_IsUnused

boolean

Indicates if the slave is unused.

RSLVS_Version

string

The version number of the slave.

RSLVS_Groups

string

The assigned group of the slave.

RSLVN_RenderingComp

number

The comp ID number that it’s currently rendering.

RSLVB_IsRemoving

boolean

If the slave is being removed from the queue.

RSLVB_IsFailed

boolean

If the slave has failed enough times to remove it from further jobs.


image


image

# Print all RenderSlaves in Queue.

qm = fusion.RenderManager

> Python usage:



image

image

-- Print all RenderSlaves in Queue.

qm = fusion.RenderManager

for i, slave in pairs(slavelist) do


print(slave:GetAttrs().RSVLS_Name)

end

slavelist = qm:GetSlaveList()

print(slave.GetAttrs()

for slave in slavelist:

slavelist = qm.GetSlaveList().values()

> Lua usage:



 

Methods