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
<[email protected]>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 <
> [email protected]>
> > 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
> >
> >
>
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to