anIOR.SetValue(dataflow.getIOR())
import os
-dir= os.getenv("SUPERV_ROOT_DIR")
+dir= os.getenv("DATA_DIR")
if dir == None:
- raise RuntimeError, "SUPERV_ROOT_DIR is not defined"
-xmlfile = dir +"/examples/GraphGeomEssai.xml"
+ raise RuntimeError, "DATA_DIR is not defined"
+xmlfile = dir +"/Graphs/GraphGeomEssai.xml"
print "Load dataflow from the file : "
print xmlfile
print
import visu_gui
medFileName = "pointe.med"
-medFile = os.getenv('KERNEL_ROOT_DIR') + '/examples/' + medFileName
+medFile = os.getenv('DATA_DIR') + '/MedFiles/' + medFileName
print "Load ", medFile
studyCurrent = salome.myStudyName