X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=test%2FVisuPrs%2FAnimation%2FA0.py;h=b9d86fc094622fb5574cc009a93688262f18146a;hb=5dd1972b4751c6af8177a53f6dcc5f927aa2f40c;hp=3e8aab60dee66575189329dc2a08f8a029893a8e;hpb=1281fe8287ee5f352ab9ad6ff7de1be3d8c54ed2;p=modules%2Fparavis.git diff --git a/test/VisuPrs/Animation/A0.py b/test/VisuPrs/Animation/A0.py old mode 100755 new mode 100644 index 3e8aab60..b9d86fc0 --- a/test/VisuPrs/Animation/A0.py +++ b/test/VisuPrs/Animation/A0.py @@ -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()