Yes, that works.  Actually, this might be even better- put this line anywhere after &#39;from paraview.simple import *&#39;, and before the first call to Render:<br><br>paraview.simple._funcs_internals.first_render = False<br>
<br>Pat<br><br><div class="gmail_quote">On Fri, Apr 30, 2010 at 1:57 PM, Greg Schussman <span dir="ltr">&lt;<a href="mailto:schussman@slac.stanford.edu">schussman@slac.stanford.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



  

<div bgcolor="#ffffff" text="#000000"><div class="im">
On 04/30/10 10:48, pat marion wrote:
<blockquote type="cite">Hi Greg,<br>
  <br>
Sorry I am unable to answer your question right now, but I just wanted
to warn you about an issue in your script.  Paraview tries to be clever
and it resets the camera on the first call to Render after the
paraview.simple module is imported.  So if you create a render view,
set the camera properties, and call render, you&#39;re not going to get
what you expect to see.  Until we add a fix for this, the best
workaround is to call Render() once before setting the camera
properties.<br>
</blockquote></div>
Hi, Pat.<br>
<br>
Thanks for the tip.   So if I put this into my script, should the
RenderView1 portion now look like this?<br>
<br>
<blockquote><small><small><small><small><small><small><tt>RenderView1 =
GetRenderView()<br>
Render()  # needed before setting camera properties to prevent auto
camera reset<div class="im"><br>
RenderView1.CameraPosition = [-1.1, 0.0, 0.7]<br>
RenderView1.CameraFocalPoint = [0.0, 0.0, 0.7]<br>
RenderView1.CameraClippingRange = [2.68, 3.33]<br>
  </div></tt></small></small></small></small></small></small></blockquote>
Is that correct?<br>
<br>
Thanks again.<br><font color="#888888">
<br>
Greg</font><div><div></div><div class="h5"><br>
  <br>
<blockquote type="cite"><br>
Pat<br>
  <br>
  <div class="gmail_quote">On Fri, Apr 30, 2010 at 1:09 PM, Greg
Schussman <span dir="ltr">&lt;<a href="mailto:schussman@slac.stanford.edu" target="_blank">schussman@slac.stanford.edu</a>&gt;</span>
wrote:<br>
  <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
    <div bgcolor="#ffffff" text="#000000"><font size="+1">Hi, Everyone.<br>
    <br>
I am trying to display a slice from a volume dataset, but when I use
the python interface, all I get is a slice of the external surface. 
Within paraview&#39;s gui, there is no problem selecting &quot;External Surface&quot;
vs. &quot;Internal Volume&quot;.<br>
    <br>
I have tried comparing python traces of slicing entire volume vs.
exterior surface, but the traces are, for all practical purposes,
identical.  I also tried looking at a trace of changing the slice&#39;s
input, but the trace seems to have no relevant information.<br>
    <br>
I tried comparing trace state, with no important difference found.   I
tried comparing saved state (.pvsm) files, but saw no difference there
except for id kinds of numbers.<br>
    <br>
I think that ll9cellf523_ncdf (see below) has two output ports, where 0
is the surface and 1 is the entire volume, but I&#39;m not sure of that.