FEM: Material name has to be limited to 80 characters for ccx

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
This commit is contained in:
Przemo Firszt
2015-04-27 18:17:55 +01:00
committed by wmayer
parent 0e61a56082
commit 5d2d386689

View File

@@ -40,7 +40,7 @@ class inp_writer:
for m in self.material_objects:
mat_obj = m['Object']
mat_obj_name = mat_obj.Name
mat_name = mat_obj.Material['Name']
mat_name = mat_obj.Material['Name'][:80]
print mat_obj_name, ': ', mat_name
f.write('*ELSET,ELSET=' + mat_obj_name + '\n')