]> SALOME platform Git repositories - tools/eficas.git/commitdiff
Salome HOME
*** empty log message ***
authorPascale Noyret <pascale.noyret@edf.fr>
Tue, 29 Nov 2011 13:49:17 +0000 (13:49 +0000)
committerPascale Noyret <pascale.noyret@edf.fr>
Tue, 29 Nov 2011 13:49:17 +0000 (13:49 +0000)
InterfaceQT4/editor.py

index 94e7d1c29ee252cfa18badf648389b20bd9a6da3..eacadef0b9e47c906cf55b9327ef1f6ab0192e6e 100644 (file)
@@ -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()