How can I list the names of all the bodies in the tree through ACT ?
One can create a loop to go through all the parts and bodies in the model and use print command to print the name. Here is a script example :
geo = ExtAPI.DataModel.Project.Model.Geometry for part in geo.Children: for body in part.Children: print(body.Name)