Thanks Magician. <div>That trick does the job. </div><div>Now I run into another issue. Seems like the output of Calculator is always double precision (64). </div><div>I would like to write the output as float (32). Is there anyway to do that? </div>
<div>I did not see any functions in CreateWriter() which does that. </div><div><br></div><div>Thanks, </div><div>Mohamad</div><div><br><div class="gmail_quote">On Sun, Oct 7, 2012 at 6:07 AM, Magician <span dir="ltr"><<a href="mailto:f_magician@mac.com" target="_blank">f_magician@mac.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Mohamad,<br>
<br>
<br>
If you do not mind doing more steps:<br>
1. Save your source as XML-VTK formats.<br>
2. Re-open the XML-VTK Data.<br>
You may choose which variables will be activated on Properties tab,<br>
and you should check which you want to save.<br>
3. Save it again.<br>
<br>
<br>
Magician<br>
<br>
<br>
On 2012/10/07, at 11:16, <a href="mailto:paraview-request@paraview.org">paraview-request@paraview.org</a> wrote:<br>
<br>
> Message: 3<br>
> Date: Sat, 6 Oct 2012 17:16:58 -0700<br>
> From: "Mohamad M. Nasr-Azadani" <<a href="mailto:mmnasr@gmail.com">mmnasr@gmail.com</a>><br>
> Subject: [Paraview] How to save only the output, for instance,<br>
> Calculator filter?<br>
> To: <a href="mailto:paraview@paraview.org">paraview@paraview.org</a><br>
> Message-ID:<br>
> <<a href="mailto:CAE_bc5Z5WsVPp4pBmfKXYr-sOot04n-eoDxK99aFOGKvKYSNWQ@mail.gmail.com">CAE_bc5Z5WsVPp4pBmfKXYr-sOot04n-eoDxK99aFOGKvKYSNWQ@mail.gmail.com</a>><br>
> Content-Type: text/plain; charset="iso-8859-1"<br>
><br>
> Hi guys,<br>
><br>
> I am just doing some simple calculations on some VTR files using the<br>
> Calculator filter.<br>
> When I try to "Save Data", it appears that the input data to the calculator<br>
> is also being saved.<br>
> Is there anyway to specify which variable to be saved when Saving data?<br>
><br>
> Thanks,<br>
> Mohamad<br>
<br>
</blockquote></div><br></div>