print "SObjectToObject - IOR = ''"
return anObj;
-med_comp = batchmode_salome.lcc.FindOrLoadComponent("FactoryServer", "Med")
+med_comp = batchmode_salome.lcc.FindOrLoadComponent("FactoryServer", "MED")
#med_obj = getMedObjectFromStudy()
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) :
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/'