From: Pascale Noyret Date: Tue, 29 Nov 2011 13:49:17 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: LOGILAB~257 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7d711a611cf34d1af3f4f000947f30e4b1270033;p=tools%2Feficas.git *** empty log message *** --- diff --git a/InterfaceQT4/editor.py b/InterfaceQT4/editor.py index 94e7d1c2..eacadef0 100644 --- a/InterfaceQT4/editor.py +++ b/InterfaceQT4/editor.py @@ -148,8 +148,12 @@ class JDCEditor(QSplitter): if not jdc: if self.appli.code == "CARMEL3D" and self.jdc.procedure == "" : try : - self.jdc.procedure="LINEAR=LAW(NATURE='LINEAR')" + self.jdc.procedure="LINEAR=L_LAW()" self.jdc.analyse() + print self.jdc.cr.get_mess_exception() + if self.jdc.cr.get_mess_exception()!="" : + self.jdc = self._newJDC(units=units) + self.jdc.analyse() except : self.jdc = self._newJDC(units=units) self.jdc.analyse()