[Paraview-developers] How can I export an object to .mhd file in ParaView's python environment?
Yuzheng Zhou
yuzheng.zhou at kitware.com
Wed May 29 17:48:23 EDT 2013
Utkarsh,
Thanks a lot. It works very well.
Yuzheng
On Wed, May 29, 2013 at 5:30 PM, Utkarsh Ayachit <
utkarsh.ayachit at kitware.com> wrote:
> Refer to:
> http://paraview.org/Wiki/ParaView/Python_Scripting#Writing_Data_Files_.28ParaView_3.9_or_later.29
>
> You simply use "CreateWriter()" with the the filename with the
> appropriate extension.
>
> Utkarsh
>
> On Wed, May 29, 2013 at 5:16 PM, Yuzheng Zhou <yuzheng.zhou at kitware.com>
> wrote:
> > Hi all,
> >
> > I am trying to export an output object in ParaView's python environment.
> The
> > object is generated by a python programmable filter and should be saved
> as
> > an MetaImage file. It can be successfully exported as .mhd file via
> ParaView
> > UI (File -> Save Data-> choose .mhd as file type). Could anyone please
> tell
> > me how it can be exported using ParaView's python interpreter or in the
> > pvpython environment? Thanks a lot.
> >
> >
> > Thanks,
> > Yuzheng
> >
> > --
> > Yuzheng Zhou
> > R & D Engineer
> > Kitware Inc.
> > (919) 869-8857
> >
> > _______________________________________________
> > Paraview-developers mailing list
> > Paraview-developers at paraview.org
> > http://public.kitware.com/mailman/listinfo/paraview-developers
> >
>
--
Yuzheng Zhou
R & D Engineer
Kitware Inc.
(919) 869-8857
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20130529/cc2e2906/attachment-0001.htm>
More information about the Paraview-developers
mailing list