Hi Max,

I tend to store different "pieces" in a vtkMultiBlockDataSet instance and I
write the dataset using the vtkXMLPMultiBlockDataWriter. Then, within
ParaView, I use the "Multi-Block Inspector" (under the View menu) to
select, turn on/off different blocks.

I am not sure if there is a way to name the blocks from the UI. However, I
think you can do it programmatically when constructing the multi-block
dataset with something like this:

mbds->GetMetaData( blockIdx )->Set( vtkCompositeDataSet::NAME(),
"<SomeName>");

Cheers,
George




On Sat, Apr 12, 2014 at 4:10 PM, Max Staufer <[email protected]> wrote:

> Hi all,
>
>    I found that it is easy to write a VTU with multiple pieces, say
> diffrent parts of a solution,
> however is there a way to make the pieces "selectable" and named ?
>
> Thanks for the help
>
> Max
> _______________________________________________
> 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

Reply via email to