<div dir="ltr"><br><div class="gmail_quote"><div dir="ltr"><br clear="all"><br>Hi everyone <br><br>I'm having a problem with applying filters using python and paraview <br><br>I can load the data file and change the colors but when I apply filters I can not see any changes <br>
<br>I'm using paraview version 3.14.0<br><br>and this is an example of the code I'm trying to run <br><br>>>> from paraview import servermanager<br>paraview version 3.14.0, Date: 2012-02-17<br>>>> servermanager.Connect()<br>
Connection (builtin:) [1]<br>>>> reader = servermanager.sources.ExodusIIReader()<br>>>> reader.FileName = "/home/......./disk_out_ref.ex2"<br>>>> view = servermanager.CreateRenderView()<br>
>>> repRed = servermanager.CreateRepresentation(reader, view)<br>>>> view.ResetCamera()<br>>>> view.StillRender()<br>>>> clipper = servermanager.filters.Clip(Input = reader)<br>>>> plane = servermanager.implicit_functions.Plane()<br>
>>> plane.Normal = [0.5,0.5, 0.0]<br>>>> clipper.ClipFunction = plane<br>>>> repClip = servermanager.CreateRepresentation(clipper , view)<br>>>> view1.ResetCamera()<br>>>> view1.StillRender()<br>
<br><br>I hope someone can help <br><br>thanks<br>
</div></div></div>