Salome HOME
Merge branch 'origin/agy/feedbackads140304'
[modules/paravis.git] / test / VisuPrs / Animation / A0.py
old mode 100755 (executable)
new mode 100644 (file)
index 3e8aab6..b9d86fc
@@ -64,9 +64,10 @@ if not picturedir.endswith(os.sep):
     picturedir += os.sep
 
 # Select only the current field:
-aProxy.CellArrays.DeselectAll()
-aProxy.PointArrays.DeselectAll()
-aProxy.PointArrays = ['vitesse']
+aProxy.AllArrays = []
+aProxy.UpdatePipeline()
+aProxy.AllArrays = ['TS0/dom/ComSup0/vitesse@@][@@P1']
+aProxy.UpdatePipeline()
    
 # Animation creation and saving into set of files into picturedir
 scene = AnimateReader(aProxy,aView,picturedir+"A0_dom."+my_format)
@@ -84,6 +85,6 @@ scene.PlayMode = 1 #  set RealTime mode for animation performance
 # set period
 scene.Duration = 40 # correspond to set the speed of animation in VISU 
 scene.GoToFirst()
-scene.Loop = 1
+scene.Loop = 0
 print "Animation.................................",
 scene.Play()