From 8d721dbf2c2edc4592a5e5fb47744ed69537783b Mon Sep 17 00:00:00 2001 From: akl Date: Thu, 20 Mar 2014 17:20:33 +0400 Subject: [PATCH] Using 'AllArrays' instead of 'CellArrays' and 'PointArrays'. --- test/VisuPrs/Animation/A0.py | 7 ++++--- test/VisuPrs/Animation/A2.py | 7 ++++--- test/VisuPrs/Animation/A4.py | 7 ++++--- test/VisuPrs/Animation/A7.py | 7 ++++--- test/VisuPrs/Animation/A8.py | 7 ++++--- test/VisuPrs/Animation/B5.py | 7 ++++--- test/VisuPrs/Animation/B6.py | 7 ++++--- test/VisuPrs/Animation/C1.py | 7 ++++--- test/VisuPrs/Animation/C3.py | 7 ++++--- test/VisuPrs/Animation/C8.py | 7 ++++--- test/VisuPrs/Animation/D1.py | 7 ++++--- test/VisuPrs/Animation/D2.py | 7 ++++--- test/VisuPrs/Animation/D6.py | 7 ++++--- test/VisuPrs/Animation/D9.py | 7 ++++--- test/VisuPrs/Animation/E0.py | 7 ++++--- test/VisuPrs/Animation/E4.py | 7 ++++--- test/VisuPrs/Animation/E8.py | 7 ++++--- test/VisuPrs/Animation/F2.py | 7 ++++--- test/VisuPrs/Animation/F5.py | 7 ++++--- test/VisuPrs/Animation/F6.py | 7 ++++--- test/VisuPrs/Animation/G0.py | 7 ++++--- test/VisuPrs/Animation/G3.py | 7 ++++--- test/VisuPrs/Animation/G4.py | 7 ++++--- test/VisuPrs/Animation/G8.py | 7 ++++--- test/VisuPrs/Animation/H1.py | 7 ++++--- test/VisuPrs/Animation/H2.py | 7 ++++--- 26 files changed, 104 insertions(+), 78 deletions(-) mode change 100755 => 100644 test/VisuPrs/Animation/A0.py mode change 100755 => 100644 test/VisuPrs/Animation/A2.py diff --git a/test/VisuPrs/Animation/A0.py b/test/VisuPrs/Animation/A0.py old mode 100755 new mode 100644 index 67e28248..b9d86fc0 --- a/test/VisuPrs/Animation/A0.py +++ b/test/VisuPrs/Animation/A0.py @@ -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+"A0_dom."+my_format) diff --git a/test/VisuPrs/Animation/A2.py b/test/VisuPrs/Animation/A2.py old mode 100755 new mode 100644 index cc0ec9bd..571d89ef --- a/test/VisuPrs/Animation/A2.py +++ b/test/VisuPrs/Animation/A2.py @@ -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+"A2_dom."+my_format) diff --git a/test/VisuPrs/Animation/A4.py b/test/VisuPrs/Animation/A4.py index cbf6b677..e225c4a7 100644 --- a/test/VisuPrs/Animation/A4.py +++ b/test/VisuPrs/Animation/A4.py @@ -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+"A4_dom."+my_format) diff --git a/test/VisuPrs/Animation/A7.py b/test/VisuPrs/Animation/A7.py index 0bdbac0f..bbd6a384 100644 --- a/test/VisuPrs/Animation/A7.py +++ b/test/VisuPrs/Animation/A7.py @@ -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+"A7_dom."+my_format) diff --git a/test/VisuPrs/Animation/A8.py b/test/VisuPrs/Animation/A8.py index 4cf32b0c..49446b13 100644 --- a/test/VisuPrs/Animation/A8.py +++ b/test/VisuPrs/Animation/A8.py @@ -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+"A8_dom."+my_format) diff --git a/test/VisuPrs/Animation/B5.py b/test/VisuPrs/Animation/B5.py index 5256fd64..7848081d 100644 --- a/test/VisuPrs/Animation/B5.py +++ b/test/VisuPrs/Animation/B5.py @@ -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+"B5_dom."+my_format) diff --git a/test/VisuPrs/Animation/B6.py b/test/VisuPrs/Animation/B6.py index d5d9f394..6669ef32 100644 --- a/test/VisuPrs/Animation/B6.py +++ b/test/VisuPrs/Animation/B6.py @@ -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) diff --git a/test/VisuPrs/Animation/C1.py b/test/VisuPrs/Animation/C1.py index d4924798..23d705a7 100644 --- a/test/VisuPrs/Animation/C1.py +++ b/test/VisuPrs/Animation/C1.py @@ -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+"C1_dom."+my_format) diff --git a/test/VisuPrs/Animation/C3.py b/test/VisuPrs/Animation/C3.py index 2cf5b1d5..d8524696 100644 --- a/test/VisuPrs/Animation/C3.py +++ b/test/VisuPrs/Animation/C3.py @@ -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+"C3_dom."+my_format) diff --git a/test/VisuPrs/Animation/C8.py b/test/VisuPrs/Animation/C8.py index f3952134..84e12298 100644 --- a/test/VisuPrs/Animation/C8.py +++ b/test/VisuPrs/Animation/C8.py @@ -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+"C8_dom."+my_format) diff --git a/test/VisuPrs/Animation/D1.py b/test/VisuPrs/Animation/D1.py index 13b4455a..37751501 100644 --- a/test/VisuPrs/Animation/D1.py +++ b/test/VisuPrs/Animation/D1.py @@ -65,9 +65,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+"D1_dom."+my_format) diff --git a/test/VisuPrs/Animation/D2.py b/test/VisuPrs/Animation/D2.py index a9e569f6..2479645f 100644 --- a/test/VisuPrs/Animation/D2.py +++ b/test/VisuPrs/Animation/D2.py @@ -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+"D2_dom."+my_format) diff --git a/test/VisuPrs/Animation/D6.py b/test/VisuPrs/Animation/D6.py index 21530cec..1f603700 100644 --- a/test/VisuPrs/Animation/D6.py +++ b/test/VisuPrs/Animation/D6.py @@ -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+"D6_dom."+my_format) diff --git a/test/VisuPrs/Animation/D9.py b/test/VisuPrs/Animation/D9.py index bb697b52..eb0b8520 100644 --- a/test/VisuPrs/Animation/D9.py +++ b/test/VisuPrs/Animation/D9.py @@ -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) diff --git a/test/VisuPrs/Animation/E0.py b/test/VisuPrs/Animation/E0.py index 10e04ae0..0e38aa50 100644 --- a/test/VisuPrs/Animation/E0.py +++ b/test/VisuPrs/Animation/E0.py @@ -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) diff --git a/test/VisuPrs/Animation/E4.py b/test/VisuPrs/Animation/E4.py index 183bfbb2..5c054144 100644 --- a/test/VisuPrs/Animation/E4.py +++ b/test/VisuPrs/Animation/E4.py @@ -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) diff --git a/test/VisuPrs/Animation/E8.py b/test/VisuPrs/Animation/E8.py index 8c81f06d..df418feb 100644 --- a/test/VisuPrs/Animation/E8.py +++ b/test/VisuPrs/Animation/E8.py @@ -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+"E8_dom."+my_format) diff --git a/test/VisuPrs/Animation/F2.py b/test/VisuPrs/Animation/F2.py index 5c3d72cb..4771691c 100644 --- a/test/VisuPrs/Animation/F2.py +++ b/test/VisuPrs/Animation/F2.py @@ -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+"F2_dom."+my_format) diff --git a/test/VisuPrs/Animation/F5.py b/test/VisuPrs/Animation/F5.py index bc006324..d6796f39 100644 --- a/test/VisuPrs/Animation/F5.py +++ b/test/VisuPrs/Animation/F5.py @@ -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+"F5_dom."+my_format) diff --git a/test/VisuPrs/Animation/F6.py b/test/VisuPrs/Animation/F6.py index 95c5c8e8..fcfdf1b6 100644 --- a/test/VisuPrs/Animation/F6.py +++ b/test/VisuPrs/Animation/F6.py @@ -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+"F6_dom."+my_format) diff --git a/test/VisuPrs/Animation/G0.py b/test/VisuPrs/Animation/G0.py index e880c69c..558b2d1b 100644 --- a/test/VisuPrs/Animation/G0.py +++ b/test/VisuPrs/Animation/G0.py @@ -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+"G0_dom."+my_format) diff --git a/test/VisuPrs/Animation/G3.py b/test/VisuPrs/Animation/G3.py index df5db2e6..6601e1e3 100644 --- a/test/VisuPrs/Animation/G3.py +++ b/test/VisuPrs/Animation/G3.py @@ -65,9 +65,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+"G3_dom."+my_format) diff --git a/test/VisuPrs/Animation/G4.py b/test/VisuPrs/Animation/G4.py index 1041c75e..5dd00d9c 100644 --- a/test/VisuPrs/Animation/G4.py +++ b/test/VisuPrs/Animation/G4.py @@ -65,9 +65,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+"G3_dom."+my_format) diff --git a/test/VisuPrs/Animation/G8.py b/test/VisuPrs/Animation/G8.py index 3314fbeb..f84f44bf 100644 --- a/test/VisuPrs/Animation/G8.py +++ b/test/VisuPrs/Animation/G8.py @@ -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+"G8_dom."+my_format) diff --git a/test/VisuPrs/Animation/H1.py b/test/VisuPrs/Animation/H1.py index cda57079..ce812a4a 100644 --- a/test/VisuPrs/Animation/H1.py +++ b/test/VisuPrs/Animation/H1.py @@ -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+"H1_dom."+my_format) diff --git a/test/VisuPrs/Animation/H2.py b/test/VisuPrs/Animation/H2.py index 42174cea..8cf81bc9 100644 --- a/test/VisuPrs/Animation/H2.py +++ b/test/VisuPrs/Animation/H2.py @@ -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+"H2_dom."+my_format) -- 2.39.2