Salome HOME
Porting 4.2. Tests OK \!
[modules/paravis.git] / test / demo4.py
index b39dfc6044f1e8ff313992b309ee8f59b47fae27..dca06d890b96a81182eea54bbd3f934df18c93ba 100755 (executable)
@@ -44,7 +44,7 @@ def demo4(fname, animpth):
 
 scriptdir = inspect.getframeinfo(inspect.currentframe())[0]
 testdir = os.path.dirname( os.path.abspath(scriptdir) )
-
+pvdata = os.getenv("SAMPLES_SRC_DIR")
 
 if __name__ == "__main__":
-    demo4(fname=testdir+"/Data/can.ex2", animpth=testdir+"/VisuPrs/Animation/")
+    demo4(fname=pvdata+"/Data/can.ex2", animpth=testdir+"/VisuPrs/Animation/")