bpy_extras submodule (bpy_extras.id_map_utils)
- bpy_extras.id_map_utils.get_id_reference_map() Dict[bpy.types.ID, Set[bpy.types.ID]]
Return a dictionary of direct datablock references for every datablock in the blend file.
- bpy_extras.id_map_utils.get_all_referenced_ids(id: bpy.types.ID, ref_map: Dict[bpy.types.ID, Set[bpy.types.ID]]) Set[bpy.types.ID]
Return a set of IDs directly or indirectly referenced by id.