build_submenu_dict

omni.kit.menu.utils.utils.build_submenu_dict(menu_list: list, glyph: Optional[str] = None)

builds a dictionary of List[MenuItemDescription] with sub_menus from List[MenuItemDescription] with full paths. EG: “/Window/Viewport/Viewport 1”