[Paraview] Python - Access the name of blocks in a MultiBlockDataSet

Paul Edwards paul.m.edwards at gmail.com
Fri Jan 24 12:32:08 EST 2014


Not sure if there is anything easier but this should work:

    input.GetMetaData( *BLOCK_INDEX* ).Get(vtk.vtkCompositeDataSet.NAME())

Regards,
Paul



On 24 January 2014 16:04, Aurélien Marsan <aur.marsan at gmail.com> wrote:

> Dear all,
>
> I do not find the command in order to get the names of blocks included in
> a MultiBlockDatSet.
> Does anyone knows it ?
>
> Many thanks,
>
> Regards,
>
> A. Marsan
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20140124/8a4f9875/attachment.html>


More information about the ParaView mailing list