distributed rendering script


#1

Hello,

I am quite new to scripting and om trying to make a simple script that enables distributed rendering opens up the window and adds ip’s of servers to the list.

Im typíng it in python. The adding ips to the list is my problem. http://forums.cgsociety.org/archive/index.php?t-1039468.html talks abit about how you can do it but the IT here is different and i cannot open up the .tmp files.

If you read vrayDR.mel, the vrayAddServer is what im trying to access but i dont know what attributes it wants.(several strings are listed in it but I cant read mel at all it seems)

This is how it’s looking right now:

import maya.mel as mel
import maya.cmds as cmds

cmds.setAttr("vraySettings.sys_distributed_rendering_on", 1)
mel.eval("vrayShowDistributedSettings")
mel.eval("vrayAddServer", "123", "123", "123")