selectedEntry = a[0]
aType, aValue = studyManager.palStudy.getTypeAndValue( selectedEntry )
- if aType == studyManager.FICHIER_EFICAS_ASTER or aType == studyManager.FICHIER_EFICAS_HOMARD:
+ if aType == studyManager.FICHIER_EFICAS_ASTER or aType == studyManager.FICHIER_EFICAS_HOMARD \
+ or aType == studyManager.FICHIER_EFICAS_HOMARD:
theObject="73"
return (theContext, theObject, theParent)
desktop=sgPyQt.getDesktop()
eficasSalome.runEficas( "HOMARD" )
-
-
-def runEficasHomard():
- print "runEficas"
- #eficasSalome.runEficas("HOMARD")
- #desktop=sgPyQt.getDesktop()
- eficasSalome.runEficas( "HOMARD" )
+def runEficaspourOpenturns():
+ print "runEficas Pour Openturns"
+ desktop=sgPyQt.getDesktop()
+ eficasSalome.runEficas( "OPENTURNS" )
elif aType == studyManager.FICHIER_EFICAS_HOMARD:
fileName = aValue
code = "HOMARD"
+ elif aType == studyManager.FICHIER_EFICAS_OPENTURNS:
+ fileName = aValue
+ code = "OPENTURNS"
else:
fileName=None
code = "ASTER"
dict_command={
941:runEficasFichier,# runEficas,
946:runEficaspourHomard,
+ 946:runEficaspourOpenturns,
4041:runEficasFichier, #runEficas,
4046:runEficaspourHomard,
+ 4047:runEficaspourOpenturns,
9042:runEficasFichier,
9043:runEficasFichierV8,
9044:runEficasFichierV9,