Antoine, Here's a sample script you can use in a Programmable Filter (since it's easier in Programmable Filter than pvpython).
https://gitlab.kitware.com/paraview/paraview/snippets/1 Utkarsh On Wed, Apr 8, 2015 at 12:16 PM, Antoine Dechaume <[email protected]> wrote: > Hi Utkarsh, > > I'm currently working with a pvpython script as I find it easier to toy > with, but my goal is to create a filter. > > On Wed, Apr 8, 2015 at 5:52 PM, Utkarsh Ayachit > <[email protected]> wrote: >> >> 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 <[email protected]> >> 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 >> > > > _______________________________________________ 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
