]> SALOME platform Git repositories - modules/paravis.git/commitdiff
Salome HOME
Using 'AllArrays' instead of 'CellArrays' and 'PointArrays'.
authorakl <akl@opencascade.com>
Thu, 20 Mar 2014 12:23:45 +0000 (16:23 +0400)
committerakl <akl@opencascade.com>
Thu, 20 Mar 2014 12:23:45 +0000 (16:23 +0400)
test/VisuPrs/Animation/B2.py
test/VisuPrs/Animation/C0.py

index 13544de8d835bb13c0e41b1dfddf980d18c56964..19d522858dd65466202fcb43d23f7b853b2c648d 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+"B2_dom."+my_format)
index 08319fd80fc5f795911a19304aab94ca511198d9..9672ccbe08078d059e859ed03802f3f1dbd0a84f 100644 (file)
@@ -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+"C0_dom."+my_format)