[Paraview] Trace?

Timothy Cale drtsc.para at gmail.com
Wed Nov 28 11:15:45 EST 2012


David:

Thanks. I do indeed have a lot of learning potential.

WRT Trace: You indicate that Trace should record a save action?

I am not sure why Trace (the way I used it) did not record the Save
Data action during my
GUI session.

What should I do to get Trace to record that action?

Regards,
Tim

On Wed, Nov 28, 2012 at 9:04 AM, David E DeMarle
<dave.demarle at kitware.com>wrote:

> > Is saving/writing a file part of what Trace is to record? (I used Save
> > Data.)
>
> Correct.
>
> Add a call to WriteImage(filename.png) to dump an png.
>
> Add this to your reading list:
> http://paraview.org/Wiki/ParaView/Python_Scripting
>
> And make liberal use of help() and tab completion in the python shell
> within the Paraview GUI as you learn.
>
> >
> > Thanks,
> > Tim
> >
> >
> > On Wed, Nov 28, 2012 at 6:44 AM, David E DeMarle <
> dave.demarle at kitware.com>
> > wrote:
> >>
> >> Please keep the discussion on the mailing list so everyone can benefit.
> >>
> >> > The upshot: Is there a way to use this .py file either in an
> executable,
> >> > or
> >> > between executables?
> >>
> >> Python is a particularly good glue language.
> >>
> >> You can have you scripts/programs call "pvbatch yourscript.py" and/or
> >> call arbitrary scripts/executables from within yourscript.py.
> >>
> >> For examples of how to call out from python see:
> >>
> >>
> http://stackoverflow.com/questions/89228/calling-an-external-command-in-python
> >>
> >> > Once I get that going, I can generate a version of the .py file
> >> > appropriate
> >> > for each sim. I assume
> >> > that can be refined to using filenames as arguments as I get off of my
> >> > knuckles.
> >>
> >> For examples of command line argument access in python see:
> >>
> http://www.tutorialspoint.com/python/python_command_line_arguments.htm
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20121128/13668f9a/attachment-0001.htm>


More information about the ParaView mailing list