<div dir="ltr"><div>Utkarsh,<br><br>Thanks a lot. It works very well.<br><br></div>Yuzheng</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 29, 2013 at 5:30 PM, Utkarsh Ayachit <span dir="ltr"><<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Refer to: <a href="http://paraview.org/Wiki/ParaView/Python_Scripting#Writing_Data_Files_.28ParaView_3.9_or_later.29" target="_blank">http://paraview.org/Wiki/ParaView/Python_Scripting#Writing_Data_Files_.28ParaView_3.9_or_later.29</a><br>
<br>
You simply use "CreateWriter()" with the the filename with the<br>
appropriate extension.<br>
<br>
Utkarsh<br>
<div><div class="h5"><br>
On Wed, May 29, 2013 at 5:16 PM, Yuzheng Zhou <<a href="mailto:yuzheng.zhou@kitware.com">yuzheng.zhou@kitware.com</a>> wrote:<br>
> Hi all,<br>
><br>
> I am trying to export an output object in ParaView's python environment. The<br>
> object is generated by a python programmable filter and should be saved as<br>
> an MetaImage file. It can be successfully exported as .mhd file via ParaView<br>
> UI (File -> Save Data-> choose .mhd as file type). Could anyone please tell<br>
> me how it can be exported using ParaView's python interpreter or in the<br>
> pvpython environment? Thanks a lot.<br>
><br>
><br>
> Thanks,<br>
> Yuzheng<br>
><br>
> --<br>
> Yuzheng Zhou<br>
> R & D Engineer<br>
> Kitware Inc.<br>
> <a href="tel:%28919%29%20869-8857" value="+19198698857">(919) 869-8857</a><br>
><br>
</div></div>> _______________________________________________<br>
> Paraview-developers mailing list<br>
> <a href="mailto:Paraview-developers@paraview.org">Paraview-developers@paraview.org</a><br>
> <a href="http://public.kitware.com/mailman/listinfo/paraview-developers" target="_blank">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br>
><br>
</blockquote></div><br><br clear="all"><br>-- <br><font color="#888888">Yuzheng Zhou<br>
R & D Engineer<br>
Kitware Inc.<br>
<a value="+19199696990">(919) 869-8857</a></font><a value="+19199696990"><span style="font-family:courier new,monospace"></span><br></a>
</div>