Update according changes of SMESH API.
#
try:
ficmed = os.path.join(DIRCASE, 'maill.00.med')
- box_m.ExportMED( ficmed, 0, SMESH.MED_V2_2, 1, None, 1)
+ box_m.ExportMED(ficmed)
except Exception, eee:
error = 2
- raise Exception('ExportToMEDX() failed. '+eee.message)
+ raise Exception('ExportMED() failed. '+eee.message)
#
break
#
meshMEDFile3D.write(ficmed, 2)
except Exception, eee:
error = 2
- raise Exception('ExportToMEDX() failed. '+eee.message)
+ raise Exception('MEDFileUMesh.write() failed. '+eee.message)
#
break
#