Salome HOME
Using 'AllArrays' instead of 'CellArrays' and 'PointArrays'.
[modules/paravis.git] / test / VisuPrs / Animation / D9.py
index bb697b522ddbd3f268a4998201a8bb8f330a3b7e..eb0b8520b0bdc99f91be8ca4db0d568787b0df50 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+"D9_dom."+my_format)