<div dir="ltr">I think Utkarsh pushed some stuff to generate some documentation related to that.<div>This should start showing up in couple of days here:</div><div><br></div><div><a href="http://www.paraview.org/ParaView3/Doc/Nightly/www/py-doc/index.html">http://www.paraview.org/ParaView3/Doc/Nightly/www/py-doc/index.html</a><br>
</div><div><br></div><div>Seb</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Nov 1, 2013 at 10:15 AM, Cook, Rich <span dir="ltr">&lt;<a href="mailto:cook47@llnl.gov" target="_blank">cook47@llnl.gov</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word">
I finally tried to follow up on this, and since I am downloading binary releases, there is no such directory for me of course. 
<div>Where can I find a reference or generate one for the python interface?  How do people learn this stuff or explore it?  </div><span class="HOEnZb"><font color="#888888">
</font></span><div><span class="HOEnZb"><font color="#888888">-- Rich </font></span><div><div class="h5"><br>
<div><br>
<div>
<div>On Oct 30, 2013, at 11:36 PM, Sebastien Jourdain &lt;<a href="mailto:sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.com</a>&gt; wrote:</div>
<br>
<blockquote type="cite">
<div dir="ltr">All the Proxy/Python informations are stored in the XML files under src/ParaViewCore/ServerManager/SMApplication/Resources/*
<div><br>
</div>
<div>That&#39;s the way I do it... ;-)</div>
<div><br>
</div>
<div>Seb</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Thu, Oct 31, 2013 at 12:33 AM, Sebastien Jourdain <span dir="ltr">
&lt;<a href="mailto:sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi Rich,
<div><br>
</div>
<div>Maybe the active view is not the one that has your rendering.</div>
<div>You may need to call SetView(<span style="font-family:arial,sans-serif;font-size:13px">RenderView2).</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div>
<div><font face="arial, sans-serif">Seb</font><br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">
<div>
<div>On Wed, Oct 30, 2013 at 6:41 PM, Cook, Rich <span dir="ltr">&lt;<a href="mailto:cook47@llnl.gov" target="_blank">cook47@llnl.gov</a>&gt;</span> wrote:<br>
</div>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div>
<div style="word-wrap:break-word">Arrgh! 
<div>I tried the following and the resulting file did not contain my isosurface as created by the below script.  What am I doing wrong here?  Sorry for the stream-of-consciousness posts here… </div>
<div><br>
</div>
<div>
<div style="margin:0px"><span style="font-family:Courier;font-size:13pt">&gt;&gt;&gt; exporters=servermanager.createModule(&quot;exporters&quot;)</span></div>
<div style="margin:0px;font-family:Courier;font-size:13pt"><br>
</div>
<div style="margin:0px"><span style="font-family:Courier;font-size:13pt">&gt;&gt;&gt; x3dExporter=exporters.X3DExporter(FileName=&quot;test.x3d&quot;)</span></div>
<div style="margin:0px"><span style="font-family:Courier;font-size:13pt">&gt;&gt;&gt; view = GetActiveView()</span></div>
<div style="margin:0px;font-family:Courier;font-size:13pt"><br>
</div>
<div style="margin:0px"><span style="font-family:Courier;font-size:13pt">&gt;&gt;&gt; x3dExporter.SetView(view) # &lt;===== NEW LINE</span></div>
<div style="margin:0px;font-family:Courier;font-size:13pt"><br>
</div>
<div style="margin:0px"><span style="font-family:Courier;font-size:13pt">&gt;&gt;&gt; x3dExporter.Write()</span></div>
<div style="margin:0px;font-family:Courier;font-size:13pt"><br>
</div>
<div style="margin:0px;font-family:Courier;font-size:13pt"><br>
</div>
<div>
<div>On Oct 30, 2013, at 5:14 PM, &quot;Cook, Rich&quot; &lt;<a href="mailto:cook47@llnl.gov" target="_blank">cook47@llnl.gov</a>&gt;</div>
<div>
<div> wrote:</div>
<br>
<blockquote type="cite">
<div style="word-wrap:break-word">… and immediately got the answer from google:  <a href="http://www.paraview.org/pipermail/paraview/2012-May/024921.html" target="_blank">http://www.paraview.org/pipermail/paraview/2012-May/024921.html</a>
<div><br>
</div>
<div>However, I&#39;m still curious as to how the person in question discovered how to do it.  Where is all the good python documentation/lore stored?  The wiki wasn&#39;t too helpful to me in that respect, i.e., as a reference, although it has a lot of good ideas/information.
  </div>
<div><br>
</div>
<div>-- Rich </div>
<div><br>
<div>
<div>On Oct 30, 2013, at 5:05 PM, &quot;Cook, Rich&quot; &lt;<a href="mailto:cook47@llnl.gov" target="_blank">cook47@llnl.gov</a>&gt;</div>
<div> wrote:</div>
<br>
<blockquote type="cite">
<div style="word-wrap:break-word">I recorded a script to try to understand how to export a time series of an isosurface as .x3d files so I can muck with them using blender.  But when I look at the script, the crucial bit of exporting the .x3d did not get captured.
  Is that part not scriptable?  How can I go about finding out for myself which file formats can be exported from python scripts, if any? 
<div>Thanks</div>
<div><br>
</div>
<div>Here is the script that got captured: </div>
<div><br>
</div>
<div>
<div style="margin:0px">try: paraview.simple</div>
<div style="margin:0px">except: from paraview.simple import *</div>
<div style="margin:0px">paraview.simple._DisableFirstRenderCameraReset()</div>
<div style="margin:0px"><br>
</div>
<div style="margin:0px">plot_raw = VisItMirandaReader( FileName=&#39;/nfs/tmp2/rcook/miranda/IRM_512_r1/plot.raw&#39; )</div>
<div style="margin:0px"><br>
</div>
<div style="margin:0px">AnimationScene2 = GetAnimationScene()</div>
<div style="margin:0px">AnimationScene1 = GetAnimationScene()</div>
<div style="margin:0px">plot_raw.CellArrays = []</div>
<div style="margin:0px">plot_raw.Materials = []</div>
<div style="margin:0px">plot_raw.Meshes = [&#39;mesh&#39;]</div>
<div style="margin:0px">plot_raw.PointArrays = []</div>
<div style="margin:0px"><br>
</div>
<div style="margin:0px">AnimationScene2.EndTime = 110.0</div>
<div style="margin:0px">AnimationScene2.PlayMode = &#39;Snap To TimeSteps&#39;</div>
<div style="margin:0px"><br>
</div>
<div style="margin:0px">AnimationScene1.EndTime = 110.0</div>
<div style="margin:0px">AnimationScene1.PlayMode = &#39;Snap To TimeSteps&#39;</div>
<div style="margin:0px"><br>
</div>
<div style="margin:0px">RenderView2 = GetRenderView()</div>
<div style="margin:0px">DataRepresentation4 = Show()</div>
<div style="margin:0px">DataRepresentation4.Representation = &#39;Outline&#39;</div>
<div style="margin:0px">DataRepresentation4.ScaleFactor = 51.200000000000003</div>
<div style="margin:0px">DataRepresentation4.EdgeColor = [0.0, 0.0, 0.50000762951094835]</div>
<div style="margin:0px">DataRepresentation4.SelectionCellFieldDataArrayName = &#39;density&#39;</div>
<div style="margin:0px"><br>
</div>
<div style="margin:0px">plot_raw.CellArrays = [&#39;density&#39;]</div>
<div style="margin:0px"><br>
</div>
<div style="margin:0px">CellDatatoPointData2 = CellDatatoPointData()</div>
<div style="margin:0px"><br>
</div>
<div style="margin:0px">RenderView2.CameraFocalPoint = [255.5, 255.5, -0.5]</div>
<div style="margin:0px">RenderView2.CameraClippingRange = [829.67380753909174, 2829.4767488865327]</div>
<div style="margin:0px">RenderView2.CameraPosition = [-979.92119013571846, 1113.4340644820502, -820.67547187352602]</div>
<div style="margin:0px"><br>
</div>
<div style="margin:0px">DataRepresentation5 = Show()</div>
<div style="margin:0px">DataRepresentation5.EdgeColor = [0.0, 0.0, 0.50000762951094835]</div>
<div style="margin:0px">DataRepresentation5.SelectionPointFieldDataArrayName = &#39;density&#39;</div>
<div style="margin:0px">DataRepresentation5.SelectionCellFieldDataArrayName = &#39;density&#39;</div>
<div style="margin:0px">DataRepresentation5.Representation = &#39;Outline&#39;</div>
<div style="margin:0px">DataRepresentation5.ScaleFactor = 51.200000000000003</div>
<div style="margin:0px"><br>
</div>
<div style="margin:0px">DataRepresentation4.Visibility = 0</div>
<div style="margin:0px"><br>
</div>
<div style="margin:0px">Contour2 = Contour( PointMergeMethod=&quot;Uniform Binning&quot; )</div>
<div style="margin:0px"><br>
</div>
<div style="margin:0px">Contour2.PointMergeMethod = &quot;Uniform Binning&quot;</div>
<div style="margin:0px">Contour2.ContourBy = [&#39;POINTS&#39;, &#39;density&#39;]</div>
<div style="margin:0px">Contour2.Isosurfaces = [2.0]</div>
<div style="margin:0px"><br>
</div>
<div style="margin:0px">DataRepresentation6 = Show()</div>
<div style="margin:0px">DataRepresentation6.ScaleFactor = 51.200000000000003</div>
<div style="margin:0px">DataRepresentation6.EdgeColor = [0.0, 0.0, 0.50000762951094835]</div>
<div style="margin:0px">DataRepresentation6.SelectionPointFieldDataArrayName = &#39;Normals&#39;</div>
<div style="margin:0px">DataRepresentation6.SelectionCellFieldDataArrayName = &#39;density&#39;</div>
<div style="margin:0px"><br>
</div>
<div style="margin:0px">AnimationScene2.AnimationTime = 10.0</div>
<div style="margin:0px"><br>
</div>
<div style="margin:0px">RenderView2.CameraViewUp = [-0.80853642549145055, -0.58010037415785698, 0.098754263479722132]</div>
<div style="margin:0px">RenderView2.CacheKey = 10.0</div>
<div style="margin:0px">RenderView2.CameraPosition = [402.40688029765732, -227.93136313665994, -1637.4840153022406]</div>
<div style="margin:0px">RenderView2.CameraClippingRange = [1504.1196765479444, 1981.483268233957]</div>
<div style="margin:0px">RenderView2.ViewTime = 10.0</div>
<div style="margin:0px">RenderView2.RemoteRenderThreshold = 2.0</div>
<div style="margin:0px">RenderView2.UseCache = 0</div>
<div style="margin:0px">RenderView2.CameraFocalPoint = [255.5, 255.49999999999989, -0.49999999999999883]</div>
<div style="margin:0px"><br>
</div>
<div style="margin:0px">Render()</div>
<div style="margin:0px"><br>
</div>
<div><span style="border-collapse:separate;font-size:13px;border-spacing:0px"><span style="border-collapse:separate;font-family:Monaco;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px"><span style="border-collapse:separate;font-family:Monaco;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px"><span style="border-collapse:separate;border-spacing:0px;font-family:Monaco;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;border-spacing:0px;font-family:Monaco;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;border-spacing:0px;font-family:Monaco;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;border-spacing:0px;font-family:Monaco;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;border-spacing:0px;font-family:Monaco;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<div>-- </div>
<div>✐Richard Cook   </div>
<div>✇ Lawrence Livermore National Laboratory</div>
<div>Bldg-453 Rm-4024, Mail Stop L-557        </div>
<div>7000 East Avenue,  Livermore, CA, 94550, USA</div>
<div>☎ (office) <a href="tel:%28925%29%20423-9605" value="+19254239605" target="_blank">
(925) 423-9605</a>    </div>
<div>☎ (fax) <a href="tel:%28925%29%20423-6961" value="+19254236961" target="_blank">(925) 423-6961</a></div>
<div>---</div>
<div>Information Management &amp; Graphics Grp., Services &amp; Development Div., Integrated Computing &amp; Communications Dept.</div>
<div>(opinions expressed herein are mine and not those of LLNL)</div>
<br>
</span></span></span></span></span></span></span><br>
</span></div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
<div><span style="border-collapse:separate;font-family:Monaco;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px"><span style="border-collapse:separate;font-family:Monaco;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px"><span style="border-collapse:separate;font-family:Monaco;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px"><span style="border-collapse:separate;border-spacing:0px;font-family:Monaco;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;border-spacing:0px;font-family:Monaco;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;border-spacing:0px;font-family:Monaco;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;border-spacing:0px;font-family:Monaco;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;border-spacing:0px;font-family:Monaco;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<div>-- </div>
<div>✐Richard Cook   </div>
<div>✇ Lawrence Livermore National Laboratory</div>
<div>Bldg-453 Rm-4024, Mail Stop L-557        </div>
<div>7000 East Avenue,  Livermore, CA, 94550, USA</div>
<div>☎ (office) <a href="tel:%28925%29%20423-9605" value="+19254239605" target="_blank">
(925) 423-9605</a>    </div>
<div>☎ (fax) <a href="tel:%28925%29%20423-6961" value="+19254236961" target="_blank">(925) 423-6961</a></div>
<div>---</div>
<div>Information Management &amp; Graphics Grp., Services &amp; Development Div., Integrated Computing &amp; Communications Dept.</div>
<div>(opinions expressed herein are mine and not those of LLNL)</div>
<br>
</span></span></span></span></span></span></span><br>
</span></div>
<br>
</div>
</div>
</blockquote>
</div>
</div>
<div><br>
<div><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:13px;white-space:normal;font-family:Monaco;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:13px;white-space:normal;font-family:Monaco;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:13px;white-space:normal;font-family:Monaco;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:13px;white-space:normal;font-family:Monaco;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:13px;white-space:normal;font-family:Monaco;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:13px;white-space:normal;font-family:Monaco;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:13px;white-space:normal;font-family:Monaco;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:13px;white-space:normal;font-family:Monaco;word-spacing:0px">
<div>-- </div>
<div>✐Richard Cook   </div>
<div>✇ Lawrence Livermore National Laboratory</div>
<div>Bldg-453 Rm-4024, Mail Stop L-557        </div>
<div>7000 East Avenue,  Livermore, CA, 94550, USA</div>
<div>☎ (office) <a href="tel:%28925%29%20423-9605" value="+19254239605" target="_blank">
(925) 423-9605</a>    </div>
<div>☎ (fax) <a href="tel:%28925%29%20423-6961" value="+19254236961" target="_blank">(925) 423-6961</a></div>
<div>---</div>
<div>Information Management &amp; Graphics Grp., Services &amp; Development Div., Integrated Computing &amp; Communications Dept.</div>
<div>(opinions expressed herein are mine and not those of LLNL)</div>
<br>
</span></span></span></span></span></span></span><br>
</span></div>
<br>
</div>
</div>
</div>
<br>
</div>
</div>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com/" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">
http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">
http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
</div>
<br>
<div><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:13px;white-space:normal;font-family:Monaco;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:13px;white-space:normal;font-family:Monaco;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:13px;white-space:normal;font-family:Monaco;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:13px;white-space:normal;font-family:Monaco;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:13px;white-space:normal;font-family:Monaco;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:13px;white-space:normal;font-family:Monaco;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:13px;white-space:normal;font-family:Monaco;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:13px;white-space:normal;font-family:Monaco;word-spacing:0px">
<div>-- </div>
<div>✐Richard Cook   </div>
<div>✇ Lawrence Livermore National Laboratory</div>
<div>Bldg-453 Rm-4024, Mail Stop L-557        </div>
<div>7000 East Avenue,  Livermore, CA, 94550, USA</div>
<div>☎ (office) <a href="tel:%28925%29%20423-9605" value="+19254239605" target="_blank">(925) 423-9605</a>    </div>
<div>☎ (fax) <a href="tel:%28925%29%20423-6961" value="+19254236961" target="_blank">(925) 423-6961</a></div>
<div>---</div>
<div>Information Management &amp; Graphics Grp., Services &amp; Development Div., Integrated Computing &amp; Communications Dept.</div>
<div>(opinions expressed herein are mine and not those of LLNL)</div>
<br>
</span></span></span></span></span></span></span><br>
</span></div>
<br>
</div>
</div></div></div>
</div>

</blockquote></div><br></div>