[Paraview] Get block ids for ExtractBlock

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Wed Apr 8 11:52:31 EDT 2015


Antoine,

Are you looking to get the block names in a Programmable Filter, or in
pvpython script?

On Fri, Apr 3, 2015 at 10:09 AM, Antoine Dechaume <boolegue at gmail.com> wrote:
> Dear list,
>
> I'm using python and I'd like to use the ExtractBlock filter on a multi
> block data set that was read from a .vtm file.
> I'm struggling to find the block indices that match a given block name from
> the object returned by the reader, any help is welcome.
>
> Cheers,
> Antoine.
>
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>


More information about the ParaView mailing list