FEM: move modules MechanicalMaterial to a more general FemMaterial

This commit is contained in:
Bernd Hahnebach
2017-01-02 13:44:14 +01:00
committed by Yorik van Havre
parent 532dfe76d5
commit 7c19fa1654
12 changed files with 54 additions and 55 deletions

View File

@@ -402,7 +402,7 @@ def get_femelement_sets_from_group_data(femmesh, fem_objects):
def get_elset_short_name(obj, i):
if hasattr(obj, "Proxy") and obj.Proxy.Type == 'MechanicalMaterial':
if hasattr(obj, "Proxy") and obj.Proxy.Type == 'FemMaterial':
return 'Mat' + str(i)
elif hasattr(obj, "Proxy") and obj.Proxy.Type == 'FemBeamSection':
return 'Beam' + str(i)