[Paraview] [EXTERNAL] record steps to a script so that it can be played back later
Moreland, Kenneth
kmorel at sandia.gov
Thu Oct 31 18:02:12 EDT 2013
This is a Python script. It can be executed by the Python interpreter in ParaView. There are a couple ways to do this, but the easiest is to bind the script to a macro. When the script pops up, select File -> Save as Macro. Once you save the script as a macro, a button with that name will show up in your toolbar.
I recommend reading about scripting in The ParaView Tutorial (http://www.paraview.org/Wiki/The_ParaView_Tutorial). It is covered in Chapter 4.
-Ken
From: Pei-Ying Hsieh <phsieh2005 at yahoo.com<mailto:phsieh2005 at yahoo.com>>
Reply-To: Pei-Ying Hsieh <phsieh2005 at yahoo.com<mailto:phsieh2005 at yahoo.com>>
Date: Thursday, October 31, 2013 1:57 PM
To: Kenneth Moreland <kmorel at sandia.gov<mailto:kmorel at sandia.gov>>, paraview <paraview at paraview.org<mailto:paraview at paraview.org>>
Subject: Re: [EXTERNAL] [Paraview] record steps to a script so that it can be played back later
Hi, Ken,
Thanks for the reply! But, can you give a little more details?
After I did "stop trace", paraview popped up a window with texts. It looks like this is python script. What do I do next? Do I have this as a python script? Then, how to use this script to process another case?
Sorry about these stupid questions.
Pei-Ying
On Thursday, October 31, 2013 10:52 AM, "Moreland, Kenneth" <kmorel at sandia.gov<mailto:kmorel at sandia.gov>> wrote:
1. Tools -> Start Trace
2. Do steps
3. Tools -> Stop Trace
-Ken
From: Pei-Ying Hsieh <phsieh2005 at yahoo.com<mailto:phsieh2005 at yahoo.com>>
Date: Thursday, October 31, 2013 5:20 AM
To: paraview <paraview at paraview.org<mailto:paraview at paraview.org>>
Subject: [EXTERNAL] [Paraview] record steps to a script so that it can be played back later
Dear paraview experts,
Is it possible to record the steps, including rotating the domain using the mouse, and then, save it to a file so that it can be played back in another case?
Pei-ying
Sent from Yahoo Mail on Android<http://overview.mail.yahoo.com/mobile/?.src=Android>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20131031/2c6007c6/attachment.htm>
More information about the ParaView
mailing list