remove_menu_items

omni.kit.menu.utils.scripts.utils.remove_menu_items(menu: list, name: str, rebuild_menus: bool = True)

remove a list of menus items to menu. menu is list of MenuItemDescription() name is name to appear when menu is collapsed rebuild_menus is flag to call rebuild_menus when True