selectedEntry = a[0]
aType, aValue = studyManager.palStudy.getTypeAndValue( selectedEntry )
- if aType == studyManager.FICHIER_EFICAS_ASTER or aType == studyManager.FICHIER_EFICAS_HOMARD \
- or aType == studyManager.FICHIER_EFICAS_HOMARD:
+ if aType == studyManager.FICHIER_EFICAS_ASTER :
theObject="73"
return (theContext, theObject, theParent)
def customPopup(popup, theContext, theObject, theParent):
print "EFICASGUI --- customPopup"
-# popup.removeItem(99000)
-# popup.removeItem(99001)
-# popup.removeItem(99002)
# popup.removeItem(99003)
eficasSalome.runEficas( "ASTER" )
-def runEficaspourHomard():
- print "runEficas"
- desktop=sgPyQt.getDesktop()
- eficasSalome.runEficas( "HOMARD" )
def runEficaspourOpenturnsStudy():
print "runEficas Pour Openturns Study"
if aType == studyManager.FICHIER_EFICAS_ASTER:
fileName = aValue
code = "ASTER"
- elif aType == studyManager.FICHIER_EFICAS_HOMARD:
+ elif aType == studyManager.FICHIER_EFICAS_OM:
fileName = aValue
- code = "HOMARD"
+ code = "SEP"
elif aType == studyManager.FICHIER_EFICAS_OPENTURNS:
fileName = aValue
code = "OPENTURNS"
eficasConfig.eficasPath,
]
+print sys.path
from InterfaceQT4 import qtEficas
import salome
-#import meshGui
-#import PALGUI_API
import studyManager
import visuDriver
import SalomePyQt
-#from SelectMainShapeDiag_ui import SelectMainShapeDiag
-#from SelectMeshDiag_ui import SelectMeshDiag
-
# message utilisateur
pathCode=code[0]+code[1:].lower()
sys.path[:0]=[os.path.join(eficasConfig.eficasPath,pathCode)]
- print sys.path
if Editeur.__dict__.has_key( 'session' ):
from Editeur import session
eficasArg = []
fileType = { 'ASTER' : studyManager.FICHIER_EFICAS_ASTER,
'SEP' : studyManager.FICHIER_EFICAS_OM ,
- 'HOMARD' : studyManager.FICHIER_EFICAS_HOMARD ,
'OPENTURNS': studyManager.FICHIER_EFICAS_OPENTURNS,
'OPENTURNS_STUDY': studyManager.FICHIER_EFICAS_OPENTURNS,
'OPENTURNS_WRAPPER': studyManager.FICHIER_EFICAS_OPENTURNS}
folderName = { 'ASTER' : 'AsterFiles',
- 'HOMARD' : 'HomardFiles' ,
'SEP' : 'OMFiles' ,
'OPENTURNS_STUDY': 'OpenturnsFiles',
'OPENTURNS_WRAPPER': 'OpenturnsFiles'}
folderType = { 'ASTER': studyManager.ASTER_FILE_FOLDER,
- 'HOMARD': studyManager.ASTER_FILE_FOLDER,
'SEP': studyManager.OM_FILE_FOLDER,
'OPENTURNS_STUDY': studyManager.OPENTURNS_FILE_FOLDER,
'OPENTURNS_WRAPPER': studyManager.OPENTURNS_FILE_FOLDER }