Salome HOME
Using 'AllArrays' instead of 'CellArrays' and 'PointArrays'.
[modules/paravis.git] / test / VisuPrs / Animation / B6.py
index d5d9f394c713f2091d54752dd7a2060c876acefd..6669ef320afe639a390d82600577e07073f50925 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+"B6_dom."+my_format)