[Paraview] Problems with Python and MultiBlockDataSet .. .
Jacques Papper
jpapper at ara.co.uk
Thu Apr 30 10:11:54 EDT 2009
Hi all,
I would like to be able to obtain the list of blocks available in a dataset
(by name) through Python.
At the moment, I am using the following :
blockFilter=servermanager.filters.ExtractBlock(Input = ensightReader)
blockFilter.BlockIndices = [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14]
blockFilter.PruneOutput = 1
This works fine but I need to hardcode the indices.
What I would like is to enable the python script to output a list of indices
and names of blocks before .... How can I do this ?
Thank you !
Jacques PAPPER
Applied CFD Team Leader
Tel: +44 (0) 1234 324677
---------------------------
This email contains information that is private and confidential and is intended only for the addressee. If you are not the intended recipient please delete it and notify us immediately by e-mailing the sender.
Note: All email sent to or from this address may be accessed by someone other than the recipient, for system management and security reasons.
Aircraft Research Association Ltd. Registered in England, Registration No 503668 Registered Office: Manton Lane, Bedford MK41 7PF England VAT No GB 196351245
More information about the ParaView
mailing list