Salome HOME
Ready for new Glyph API
[modules/paravis.git] / src / Plugins / MEDReader / Test / testMEDReader21.py
index 0db517752f3a8c78e9f73c01ce12c4990f521405..187d27200b7f3fd3fc04361bffef0df839308a53 100644 (file)
@@ -119,14 +119,14 @@ eLNOMesh1Display.SetScalarBarVisibility(renderView1, False)
 # create a new 'Glyph'
 glyph1 = Glyph(Input=eLNOMesh1,
     GlyphType='Arrow')
-glyph1.Scalars = ['POINTS', 'MyField']
-glyph1.Vectors = ['POINTS', 'None']
-glyph1.ScaleFactor = 0.15000000000000002
+glyph1.ScaleArray = ['POINTS', 'MyField']
+glyph1.OrientationArray = ['POINTS', 'No orientation array']
+glyph1.MaximumGlyphSize = 0.15000000000000002
 glyph1.GlyphTransform = 'Transform2'
 
 # Properties modified on glyph1
 glyph1.GlyphType = 'Sphere'
-glyph1.ScaleFactor = 0.15
+glyph1.MaximumGlyphSize = 0.15
 
 # show data in view
 glyph1Display = Show(glyph1, renderView1)