build_submenu_dict

omni.kit.menu.utils.scripts.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”