Salome HOME
Using 'AllArrays' instead of 'CellArrays' and 'PointArrays'.
[modules/paravis.git] / test / VisuPrs / Animation / E4.py
index 183bfbb23fedffa3d92463a384da8ba86da5a8eb..5c054144cac542ab60b45b09899da0a98d5517ed 100644 (file)
@@ -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+"E4_dom."+my_format)