Discussion:
[Paraview] How to save a multiblock dataset as a legacy VTK file format?
Fred Fred
2009-12-02 15:38:19 UTC
Permalink
I have a multiblock dataset in which I have selected a single block and now I would like to save it as a legacy VTK file, is it possible?


_________________________________________________________________
T?l?chargez Internet Explorer 8 et surfez sans laisser de trace !
http://clk.atdmt.com/FRM/go/182932252/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20091202/7dbdb927/attachment.htm>
Utkarsh Ayachit
2009-12-02 15:42:26 UTC
Permalink
Not directly. Even if you extracted a single block, it's still a
vtkMultiBlockDataSet and vtkMultiBlockDataSet cannot be written out as
legacy VTK. What is the data type of the block? You can always use
vtkMergeBlocks to create a vtkUnstructuredGrid and then save out as
legacy vtk files.

Utkarsh

On Wed, Dec 2, 2009 at 10:38 AM, Fred Fred <stan1313 at hotmail.fr> wrote:
> I have a multiblock dataset in which I have selected a single block and now
> I would like to save it as a legacy VTK file, is it possible?
>
>
> ________________________________
> Vous cherchez l'int?grale des clips de Michael Jackson ? Bing ! Trouvez !
> _______________________________________________
> 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
>
>
Berk Geveci
2009-12-02 20:26:50 UTC
Permalink
The longer way of doing this is to save it as a vtm file, then opening
file(s) referring to individual blocks one by one and saving them as
vtk. Why do you want to save the file as legacy vtk?

-berk

On Wed, Dec 2, 2009 at 10:42 AM, Utkarsh Ayachit
<utkarsh.ayachit at kitware.com> wrote:
> Not directly. Even if you extracted a single block, it's still a
> vtkMultiBlockDataSet and vtkMultiBlockDataSet cannot be written out as
> legacy VTK. What is the data type of the block? You can always use
> vtkMergeBlocks to create a vtkUnstructuredGrid and then save out as
> legacy vtk files.
>
> Utkarsh
>
> On Wed, Dec 2, 2009 at 10:38 AM, Fred Fred <stan1313 at hotmail.fr> wrote:
>> I have a multiblock dataset in which I have selected a single block and now
>> I would like to save it as a legacy VTK file, is it possible?
>>
>>
>> ________________________________
>> Vous cherchez l'int?grale des clips de Michael Jackson ? Bing ! Trouvez !
>> _______________________________________________
>> 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
>>
>>
> _______________________________________________
> 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
>
Fred Fred
2009-12-03 08:48:15 UTC
Permalink
Just for some test purpose but anyway, the solution given by Utkarsh is convenient for my problem.
Thx

> Date: Wed, 2 Dec 2009 15:26:50 -0500
> Subject: Re: [Paraview] How to save a multiblock dataset as a legacy VTK file format?
> From: berk.geveci at kitware.com
> To: utkarsh.ayachit at kitware.com
> CC: stan1313 at hotmail.fr; paraview at paraview.org
>
> The longer way of doing this is to save it as a vtm file, then opening
> file(s) referring to individual blocks one by one and saving them as
> vtk. Why do you want to save the file as legacy vtk?
>
> -berk
>
> On Wed, Dec 2, 2009 at 10:42 AM, Utkarsh Ayachit
> <utkarsh.ayachit at kitware.com> wrote:
> > Not directly. Even if you extracted a single block, it's still a
> > vtkMultiBlockDataSet and vtkMultiBlockDataSet cannot be written out as
> > legacy VTK. What is the data type of the block? You can always use
> > vtkMergeBlocks to create a vtkUnstructuredGrid and then save out as
> > legacy vtk files.
> >
> > Utkarsh
> >
> > On Wed, Dec 2, 2009 at 10:38 AM, Fred Fred <stan1313 at hotmail.fr> wrote:
> >> I have a multiblock dataset in which I have selected a single block and now
> >> I would like to save it as a legacy VTK file, is it possible?
> >>
> >>
> >> ________________________________
> >> Vous cherchez l'int?grale des clips de Michael Jackson ? Bing ! Trouvez !
> >> _______________________________________________
> >> 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
> >>
> >>
> > _______________________________________________
> > 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
> >

_________________________________________________________________
Tchattez en direct en en vid?o avec vos amis !
http://www.windowslive.fr/messenger/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20091203/a0612fd4/attachment-0001.htm>
Loading...