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 <phsieh2...@yahoo.com<mailto:phsieh2...@yahoo.com>>
Reply-To: Pei-Ying Hsieh <phsieh2...@yahoo.com<mailto:phsieh2...@yahoo.com>>
Date: Thursday, October 31, 2013 1:57 PM
To: Kenneth Moreland <kmo...@sandia.gov<mailto:kmo...@sandia.gov>>, paraview 
<paraview@paraview.org<mailto:paraview@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" 
<kmo...@sandia.gov<mailto:kmo...@sandia.gov>> wrote:
1. Tools -> Start Trace
2. Do steps
3. Tools -> Stop Trace

-Ken

From: Pei-Ying Hsieh <phsieh2...@yahoo.com<mailto:phsieh2...@yahoo.com>>
Date: Thursday, October 31, 2013 5:20 AM
To: paraview <paraview@paraview.org<mailto:paraview@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>



_______________________________________________
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