Access Instances from Spreadsheet

I want to access Instances which are generated by Geometry Nodes in Spreadsheet. How can I do that ? I just want names.


I know how to access the mesh but not Instances.

depsgraph = bpy.context.evaluated_depsgraph_get()
evaluated_obj = bpy.context.object.evaluated_get(depsgraph)
mesh = evaluated_obj.data

I can access column name using SpaceSpreadSheet and SpreadsheetColum. I can get column id name using SpreadsheetColumn.id.name but I didn’t know how to access column values and where it is stored. I request go through code i have posted. Before running the code you have to open the spreadsheet. If you solve inform me. The link to my post is

Check out bpy.types.Depsgraph.object_instances

https://docs.blender.org/api/current/bpy.types.Depsgraph.html#bpy.types.Depsgraph.object_instances