2 < #==============================================================================
7 < # Copyright (c) Kitware, Inc.
8 < # All rights reserved.
9 < # See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
11 < # This software is distributed WITHOUT ANY WARRANTY; without even
12 < # the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
13 < # PURPOSE. See the above copyright notice for more information.
15 < #==============================================================================
18 < paraview.compatibility.major = 3
19 < paraview.compatibility.minor = 5
20 < import servermanager
25 > servermanager = paravisSM
27 < if proxy == GetActiveSource():
30 > if proxy.IsSame(GetActiveSource()):
32 < if rep.Input == proxy:
35 > if rep.Input.IsSame(proxy):
37 < if proxy == GetActiveView():
40 > if proxy.IsSame(GetActiveView()):
43 > print paravisSM.myParavis.GetTrace()
45 > def SaveTrace(fileName):
46 > paravisSM.myParavis.SaveTrace(fileName)
50 > ## Initialisation for SALOME GUI
51 > active_objects.view = servermanager.GetRenderView()