Salome HOME
Names of fields are changed.
[modules/paravis.git] / test / VisuPrs / bugs / D6.py
index 1bf2eec4e69cbf217030384b393ee19ca2d41f9b..26cd2dec5c4b6ea6f09a32334ca1e7aeaa80c955 100644 (file)
@@ -55,13 +55,13 @@ if cut_segment2 == None:
 #       (spreadsheet view in terms of ParaViS) from in Python script
 
 # 5. Creation of curve based on Table
-xy_view = pv.CreateXYPlotView()
+xy_view = pvs.CreateXYPlotView()
 
-curve1 = pv.Show(cut_segment1.Input, xy_view)
+curve1 = pvs.Show(cut_segment1.Input, xy_view)
 if curve1 == None:
    raise RuntimeError, " ERROR!!! Curve based on the first CutSegment is not built!"
 
-curve2 = pv.Show(cut_segment2.Input, xy_view)
+curve2 = pvs.Show(cut_segment2.Input, xy_view)
 if curve2 == None:
    raise RuntimeError, " ERROR!!! Curve based on the second CutSegment is not built!"