Code: Select all
groups = rg.get_room_groups(scheme_handle)
for group in groups:
if len(group['rooms']) != 0:
group['name'] = "_" + group['name']
print(groups) # This shows that the group dictionary was updated

Code: Select all
groups = rg.get_room_groups(scheme_handle)
for group in groups:
if len(group['rooms']) != 0:
group['name'] = "_" + group['name']
print(groups) # This shows that the group dictionary was updated
Hope that helps.create_grouping_scheme(name) -> int
Creates a room grouping scheme with the given name. Returns the handle of the new grouping scheme.
create_room_group(scheme_handle, group_name, colour = (0, 0, 0) ) -> String
Creates a room group with the given name and colour in the provided grouping scheme. Colour is expressed as a tuple of (R,G,B) and is optional, defaulting to black. Returns the handle of the new room group.
