def DeleteMenu():
# Check for existing control, remove it if we can
if cmds.control(MENU_DATA['menu'][0], exists=True):
# Found it, delete it
cmds.deleteUI(MENU_DATA['menu'][0], menu=True)
# Create the menu
文章目录