Salome HOME
NRI : Replace SALOME_ROOT_DIR by SUPERV_ROOT_DIR.
authornri <nri@opencascade.com>
Thu, 15 Apr 2004 13:19:55 +0000 (13:19 +0000)
committernri <nri@opencascade.com>
Thu, 15 Apr 2004 13:19:55 +0000 (13:19 +0000)
doc/salome/tui/KERNEL/exemple/Example19.html

index 4d567ff759c97d46b26474cafe190a545a64579f..4c5c2902bcbdd07373a27c0915913fd921f010a8 100755 (executable)
@@ -215,10 +215,10 @@ for linelog in log:
 \r
 from batchmode_SuperV import *\r
 import os\r
-dir= os.getenv(&quot;SALOME_ROOT_DIR&quot;)\r
+dir= os.getenv(&quot;SUPERV_ROOT_DIR&quot;)\r
 if dir == None:\r
- &nbsp; &nbsp; &nbsp; &nbsp;raise RuntimeError, &quot;SALOME_ROOT_DIR is not defined&quot;\r
-xmlfile = dir +&quot;/../SALOME_ROOT/SuperVisionTest/resources/GraphEssai.xml&quot;\r
+ &nbsp; &nbsp; &nbsp; &nbsp;raise RuntimeError, &quot;SUPERV_ROOT_DIR is not defined&quot;\r
+xmlfile = dir +&quot;/examples/GraphEssai.xml&quot;\r
 print &quot;--------------\n&quot;+xmlfile+&quot;\n--------------\n&quot;\r
 \r
 myGraph = Graph ( xmlfile )\r
@@ -544,4 +544,4 @@ names.sort()
 Names.sort()\r
 if names != Names :\r
  &nbsp; &nbsp; &nbsp; &nbsp;raise RuntimeError, &quot;List of dataflow nodes after save differs from one befor save operation&quot;\r
-</PRE>
\ No newline at end of file
+</PRE>\r