Hello,
simple slave script to remove the groups and pools from a slave:
def __main__():
# get selected slaves
selected_slave_infosettings = MonitorUtils.GetSelectedSlaveInfoSettings()
for slave_info in selected_slave_infosettings:
#Trace2.WriteLine(slave_info)
slave_name = slave_info.SlaveName
slave_info.Settings.SetSlavePools([])
slave_info.Settings.SetSlaveGroups([])
print 'cleared out the slave groups and pools on slave: ' + slave_name
This code works, i can see in the groups and pools gui’s that there is nothing set for the selected slave.
but the slaves panel in the active deadline gui, doesnt update.
how can i force it to update?
Cheers
Kym