ObjectGroupList

ObjectGroupList(objects=None, sort=False)

Returns a list of all the Group Names for the objects :param objects: If omitted, all objects in the document is used :param sort: Sort the list if True.

returns:List of Group Names and a dictionary of all objects with group name as key