Hello!<br>I&#39;m new to ParaView and Python and have the following question:<br><br>How can I &quot;apply&quot; the Clip Filter using Python?<br>I&#39;m using ParaView 3.6.1 on Windows XP with the &quot;Python Shell&quot; from the Tools Menu.<br>
<br>My Python Script:<br>---------------------------<br>clip01=Clip()<br>clip01.InsideOut=1<br>clip01.ClipType = &quot;Box&quot;<br>clip01.ClipType.Scale=[0.5,0.5,0.5]<br>Show(clip01)<br><br>surface=ExtractSurface()<br>Show(surface)<br>
<br>Render()<br>---------------------------<br><br>I haven&#39;t found the possibilty to &quot;apply&quot; the Clip Filter via Python...I always have to press manually the &quot;Apply&quot; Button in the Object Inspector.<br>
<br>I&#39;ve also tried:<br><br>&gt;&gt;&gt; view = servermanager.CreateRenderView()<br>&gt;&gt;&gt; rep = servermanager.CreateRepresentation(shrinkFilter, view)<br>&gt;&gt;&gt; view.StillRender()<br><br>out of the &quot;Servermanger.pdf&quot;, but this creates a new window, which I don&#39;t want.<br>
And also<br><br>&gt;&gt;&gt; clip01.UpdatePipeline()<br><br>doesn&#39;t work.<br><br>There was a nearly similar question on this mailinglist, but it doesn&#39;t help me, I&#39;m sorry:<br><br><a href="http://markmail.org/thread/54kjzlk4i5d6sprh">http://markmail.org/thread/54kjzlk4i5d6sprh</a><br>
<br>Thank you for your work on ParaView! :-)<br><br>Dominic Jennewein<br><br>