def addTemplateSet(self): templateSet = Set.createTemplateSet() self.templateSets.append(templateSet) self.allSets.append(templateSet) return (templateSet)