X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=test%2FVisuPrs%2FAnimation%2FE0.py;h=0e38aa50d89dafdf43b2a0e8b2b1ae2219dc08dd;hb=5dd1972b4751c6af8177a53f6dcc5f927aa2f40c;hp=024a69f3b1e212185b2ab5819b0884d972d38d0a;hpb=c7c9039d845fb2a5e2eb391139af089b4bed26a5;p=modules%2Fparavis.git diff --git a/test/VisuPrs/Animation/E0.py b/test/VisuPrs/Animation/E0.py index 024a69f3..0e38aa50 100644 --- a/test/VisuPrs/Animation/E0.py +++ b/test/VisuPrs/Animation/E0.py @@ -31,7 +31,7 @@ import paravis myParavis = paravis.myParavis # Directory for saving snapshots -picturedir = get_picture_dir(sys.argv[1], "Animation/E0") +picturedir = get_picture_dir("Animation/E0") theFileName = datadir + "TimeStamps.med" print " --------------------------------- " @@ -64,9 +64,10 @@ if not picturedir.endswith(os.sep): picturedir += os.sep # Select only the current field: -aProxy.PointArrays.DeselectAll() -aProxy.CellArrays.DeselectAll() -aProxy.CellArrays = ['pression'] +aProxy.AllArrays = [] +aProxy.UpdatePipeline() +aProxy.AllArrays = ['TS0/dom/ComSup0/pression@@][@@P0'] +aProxy.UpdatePipeline() # Animation creation and saving into set of files into picturedir scene = AnimateReader(aProxy,aView,picturedir+"E0_dom."+my_format)