Access the evaluated geometry of an object (bpy.types.GeometrySet).
Evaluating an object normally only exposes a single geometry data-block, but Geometry Nodes can output multiple components at once: a mesh, a point cloud, curves and instances. This class evaluates the object’s modifiers and gives access to all of the resulting components and their attributes, for example to test the output of a node group.
A mapping of component names to their data-blocks, containing only the components that are present and contain geometry. Blender can include empty components (e.g. a 0-vertex mesh) in the evaluated geometry, which are excluded here; the mesh, pointcloud, curves and instances properties still return them.
list_attributes
GeometrySet.list_attributes(drop_hidden=False)
List the attribute names on each component of the evaluated geometry.
The component to read the attribute from. If None, the components are searched in order (MESH, POINTCLOUD, CURVES, INSTANCES) and the first that has the attribute is used.