From 7d711a611cf34d1af3f4f000947f30e4b1270033 Mon Sep 17 00:00:00 2001 From: Pascale Noyret Date: Tue, 29 Nov 2011 13:49:17 +0000 Subject: [PATCH] *** empty log message *** --- InterfaceQT4/editor.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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() -- 2.39.2