]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
NRI : Update loading of MED (instead of Med).
authornri <nri@opencascade.com>
Wed, 21 May 2003 10:12:48 +0000 (10:12 +0000)
committernri <nri@opencascade.com>
Wed, 21 May 2003 10:12:48 +0000 (10:12 +0000)
src/VISU_SWIG/batchmode_visu.py
src/VISU_SWIG/visu.py
src/VISU_SWIG/visu_med.py

index 06dd539c5dcf361e8250669b302ea4ae346afcf8..ae688cf2a7b45e3c4ba91890dbd865c1a41abed0 100644 (file)
@@ -50,7 +50,7 @@ def SObjectToObject(theSObject) :
        print "SObjectToObject - IOR = ''"
     return anObj;
  
-med_comp = batchmode_salome.lcc.FindOrLoadComponent("FactoryServer", "Med")
+med_comp = batchmode_salome.lcc.FindOrLoadComponent("FactoryServer", "MED")
 
 
 #med_obj = getMedObjectFromStudy()
index fb33546ecbb9c65f2a02735931c0ebca171a76af..335a643a4c5efb63fbfdc69c0517d3442d1f0ddb 100644 (file)
@@ -43,7 +43,7 @@ medFile = "pointe.med"
 medFile = os.getenv('SALOME_ROOT_DIR') + '/../SALOME_ROOT/data/' + medFile
 print medFile
 studyCurrent = salome.myStudyName
-med_comp = salome.lcc.FindOrLoadComponent("FactoryServer", "Med")
+med_comp = salome.lcc.FindOrLoadComponent("FactoryServer", "MED")
 try:
     if os.access(medFile, os.R_OK) :
        if os.access(medFile, os.W_OK) :
index d3a4813c0d252d60db58e2026a53dd6d68568fa0..cd120a6c7024f79dc86cb1ef65ef651df93ec282 100644 (file)
@@ -31,7 +31,7 @@ def getFieldObjectFromStudy(number,subnumber):
         print "ERROR: No Field Object stored in this Study"
         return None
 
-med_comp = salome.lcc.FindOrLoadComponent("FactoryServer", "Med")
+med_comp = salome.lcc.FindOrLoadComponent("FactoryServer", "MED")
 
 medDir = os.getenv('SALOME_ROOT_DIR') + '/../SALOME_ROOT/data/'