def getActiveSets(): # Clear list of activeSets to start fresh activeSets = [] for set in getSmartSets(): activeSets.append(set) return activeSets
# RoboFont-SetOrganizer - Snippet # Remove all sets from mojo.UI import getSmartSets, setSmartSets smartSetList = getSmartSets() smartSetList = setSmartSets('')
def updateActiveSetList(): activeSets[:] = [] for set in getSmartSets(): activeSets.append(set)