Erik Kostson
Ansys Employee

Actually a faster way is to get these direct in the geometry tree:

 

geometry = ExtAPI.DataModel.Project.Model.Geometry

bodies = geometry.GetChildren(DataModelObjectCategory.Body, True)

for body in bodies:
    name = body.Name
    print(str(name)+"; ")
    print(str(body.Minimum)+"; ")
    print(str(body.Maximum)+"; ")
    print(str(body.Average)+"; ")