From: vtn Date: Mon, 24 Mar 2014 07:47:53 +0000 (+0400) Subject: VisuPrs/imps/A1.py changed X-Git-Tag: V7_4_0rc1~4^2~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1d6996b905bfa8ee690357bacd044fd4d7cf6b50;p=modules%2Fparavis.git VisuPrs/imps/A1.py changed --- diff --git a/test/VisuPrs/imps/A1.py b/test/VisuPrs/imps/A1.py index be1f0b8e..a6acef9e 100644 --- a/test/VisuPrs/imps/A1.py +++ b/test/VisuPrs/imps/A1.py @@ -76,9 +76,11 @@ if cutplanes is None : else: print "OK" +select_cells_with_data(med_reader, on_cells=["scalar field", "vectoriel field"]) + print "Setting of deformation:" warp_vector = pvsimple.WarpByVector(cutplanes.Input) -warp_vector.Vectors = ["scalar field"] +warp_vector.Vectors = ["vectoriel field"] warp_vector.ScaleFactor = 5.0 print "Got scale : ", warp_vector.ScaleFactor