def currentset_get(): # the menu set that is currently in use try: return cmds.fileInfo("menuSet", q=1)[0] except: return None