Notifications
Clear all
[Closed] netrender group filter broken????
Apr 07, 2011 5:06 am
Hi guys!
It’s me or Autodesk have broken something in the netrender interface…
After 2 hours can’t find a way to use Group in netrender…
I’m trying to get a list of rendernode in a group:
srvList = m.getservers filter:#group key:(“Workstations”)
Always give me Group not found
I think that there is a problem with the group filter…
This is a sample of code that I’m using to test.
m = netrender.getmanager()
if not m.connected then
(
try m.connect #manual "bbmanager01.server.local"
catch messagebox "Error: Manager not found"
)
if m.connected then
(
job=m.newjob()
if job != undefined then
(
srvList = m.getservers filter:#group key:("HDRI")
Format "Number of group: %
” (m.numGroups)
Format “First Group name: %
” (m.GetGroupName 1)
Format “Size of first group: %
” (m.sizeOfGroup 1)
Format “Group list: %
” (srvList)
job.useAllServers = false
job.submit servers:srvList
)
)-- end if m.connected
m.disconnect()
m = undefined
Regards,
OZRay
1 Reply