build_submenu_dict#

omni.kit.menu.utils.utils.build_submenu_dict(menu_list: list, glyph: str | None = None)#

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