for anIndex in range(0, aFeaturesNum):
aFeature = self.Part.object("Features", anIndex)
aSelectionList = aFeature.data().selectionList("group_list")
for anIndex in range(0, aFeaturesNum):
aFeature = self.Part.object("Features", anIndex)
aSelectionList = aFeature.data().selectionList("group_list")
groupIndex = groupIndex + 1
self.createGroupFromList(aSelectionList, aName)
groupIndex = groupIndex + 1
self.createGroupFromList(aSelectionList, aName)