[Paraview] Python - Access the name of blocks in a MultiBlockDataSet
Magician
f_magician at mac.com
Fri Jan 24 21:34:20 EST 2014
Hi Aurélien and Paul,
Check the entry:
<http://public.kitware.com/pipermail/paraview/2013-July/028749.html>
> 1. Get the blocks' names with
> [source].GetDataInformation().GetCompositeDataInformation().GetName()
I think it's not easy to get indices of blocks.
Magician
On Jan 25, 2014, at 2:32, paraview-request at paraview.org wrote:
> Not sure if there is anything easier but this should work:
>
> input.GetMetaData( *BLOCK_INDEX* ).Get(vtk.vtkCompositeDataSet.NAME())
>
> Regards,
> Paul
>
>
> On Jan 25, 2014, at 2:00, paraview-request at paraview.org wrote:
>
>> Date: Fri, 24 Jan 2014 11:04:58 -0500
>> From: Aur?lien Marsan <aur.marsan at gmail.com>
>> To: paraview at paraview.org
>> Subject: [Paraview] Python - Access the name of blocks in a
>> MultiBlockDataSet
>> Message-ID:
>> <CALBJ7LKkph_FR0ByRmxR0YrfC1aT5=XbCMSXaD56+zB-y18hZA at mail.gmail.com>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20140125/67876251/attachment.html>
More information about the ParaView
mailing list