Get each body mesh status

Wayne
Member Posts: 7
**
in Structures
I want to get each mesh status by individual.
For example,
I have two body in geometry and I want to know each body generate mesh status
Currently I can get all mesh status by below code.
test = ExtAPI.DataModel.Project.Model.Mesh
test.ObjectState
Thanks
Tagged:
0
Best Answer
-
tbs = ExtAPI.DataModel.GetObjectsByType(Ansys.ACT.Automation.Mechanical.Body) for tb in tbs: print "{} : {}".format(tb.Name,tb.ObjectState)
1