David:<div><br></div><div>Thanks. I do indeed have a lot of learning potential. </div><div><br></div><div>WRT Trace: You indicate that Trace should record a save action?</div><div><br></div><div>I am not sure why Trace (the way I used it) did not record the Save Data action during my </div>
<div>GUI session. </div><div><br></div><div>What should I do to get Trace to record that action? </div><div><br></div><div>Regards,</div><div>Tim<br><br><div class="gmail_quote">On Wed, Nov 28, 2012 at 9:04 AM, David E DeMarle <span dir="ltr"><<a href="mailto:dave.demarle@kitware.com" target="_blank">dave.demarle@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">> Is saving/writing a file part of what Trace is to record? (I used Save<br>
> Data.)<br>
<br>
</div>Correct.<br>
<br>
Add a call to WriteImage(filename.png) to dump an png.<br>
<br>
Add this to your reading list:<br>
<a href="http://paraview.org/Wiki/ParaView/Python_Scripting" target="_blank">http://paraview.org/Wiki/ParaView/Python_Scripting</a><br>
<br>
And make liberal use of help() and tab completion in the python shell<br>
within the Paraview GUI as you learn.<br>
<div class="HOEnZb"><div class="h5"><br>
><br>
> Thanks,<br>
> Tim<br>
><br>
><br>
> On Wed, Nov 28, 2012 at 6:44 AM, David E DeMarle <<a href="mailto:dave.demarle@kitware.com">dave.demarle@kitware.com</a>><br>
> wrote:<br>
>><br>
>> Please keep the discussion on the mailing list so everyone can benefit.<br>
>><br>
>> > The upshot: Is there a way to use this .py file either in an executable,<br>
>> > or<br>
>> > between executables?<br>
>><br>
>> Python is a particularly good glue language.<br>
>><br>
>> You can have you scripts/programs call "pvbatch yourscript.py" and/or<br>
>> call arbitrary scripts/executables from within yourscript.py.<br>
>><br>
>> For examples of how to call out from python see:<br>
>><br>
>> <a href="http://stackoverflow.com/questions/89228/calling-an-external-command-in-python" target="_blank">http://stackoverflow.com/questions/89228/calling-an-external-command-in-python</a><br>
>><br>
>> > Once I get that going, I can generate a version of the .py file<br>
>> > appropriate<br>
>> > for each sim. I assume<br>
>> > that can be refined to using filenames as arguments as I get off of my<br>
>> > knuckles.<br>
>><br>
>> For examples of command line argument access in python see:<br>
>> <a href="http://www.tutorialspoint.com/python/python_command_line_arguments.htm" target="_blank">http://www.tutorialspoint.com/python/python_command_line_arguments.htm</a><br>
><br>
><br>
</div></div></blockquote></div><br></div>