I have a submenu whose contents I want to update, but I don't want to change the position of the submenu in its parent menu. I'm assuming that deleting the submenu and recreating it would recreate it at the
end of the parent menu (?)....
But I'm curious if I can use cmds.deleteUI() with the menuItems flag, but instead of specificying which menuitems I want to delete... just delete all the menuitems instead. The only flags I see for that method are object-specific. Is there a way to loop over menuItems and delete each one perhaps?
-Tim