Hi Zhigao,

If you are writing a reader or filter that returns a multi-block data set
you can name a block with the following:


MULTI_BLOCK_DATA_SET->GetMetaData(BLOCK_NUMBER)->Set(vtkCompositeDataSet::NAME(),
"PUT_NAME_HERE");

If you are just using ParaView you can use the "Extract Block" filter and
select the blocks you are interested in.   In the pipeline browser you can
change the name from "ExtractBlock1" to something more meaningful.

Regards,
Paul


2009/3/29 #CHENG ZHIGAO# <[email protected]>

>
> hey,
>
>      As a beginner in paraview, please forgive my silly questions. :<)
>
>      I have a multiblock datasets which contains several unstructured grid.
> If there a way to set a different name for each block? And What should i do
> if i do not want to display some of the datasets while displaying the
> others? Or how can I hidden them all if i can not display parts of it?
>
>       Thanks for your help in advance.
>
> Regards,
> zhigao
>
> _______________________________________________
> 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