Hi Everyone,
In order to identify the section name given a mesh or geometry region, users can use the "region" information from the section assignment object for this purpose. For example:
----
p = mdb.models['Model-1'].parts['Part-1-mesh-1']
s = p.sectionAssignments[0]
print s
({'offset': 0.0, 'offsetField': '', 'offsetType': MIDDLE_SURFACE, 'region': ('_PickedSet2', 'Part-1-mesh-1', 1, 2, 1), 'sectionName': 'Section-1', 'suppressed': False, 'tag': '', 'thicknessAssignment': FROM_SECTION})
----
As it can be seen from the above example, the region member gives the set name which can then be accessed to get the faces/elements/cells as:
----
print p.sets['_PickedSet2'].elements
print p.sets['_PickedSet2'].faces
print p.sets['_PickedSet2'].cells
----
Users will have to create a map between the section assignment object and its region (face/element/cell) so that when you know the selection (either element or geometry) you can quickly look up the map to get the corresponding section assignment object which will give the section name.
Thanks
Srikanth
