[Paraview-developers] MultiBlock datasets and Fetch

Alejandro RIBES alejandro.ribes at edf.fr
Wed Feb 27 05:26:34 EST 2013


Hi Berk,

I am helping some people in the company with the postprocessing of some 
mechanical displacements. They are at the moment scripting in python and 
need to loop over all the nodes of their mesh and access a field value at 
the same time. Their basic structures are MutiBlock datasets with 
unstructured grids inside. GetPointData does not work if a fetch is not 
done before, this is the origin of the problem.

By the way, the blocks have partial fields associated to them (fields 
associated to a block are not necessarily present in another block). I 
tried MergeBlocks and it seems like partial fields disappear from the 
resulting unstructured grid.

Thanks in advance for your help,

Alejandro.





berk.geveci at kitware.com 
26/02/2013 20:23

A
alejandro.ribes at edf.fr
cc
paraview-developers at paraview.org, paraview-developers-bounces at paraview.org
Objet
Re: [Paraview-developers] MultiBlock datasets and Fetch






Hi Alejandro,

What is the end goal? Why are you trying to Fetch an entire dataset?

Best,
-berk

On Mon, Feb 25, 2013 at 1:02 PM, Alejandro RIBES <alejandro.ribes at edf.fr> 
wrote:
>
> Hello,
>
> In a python script I am trying to deal with a MultiBlock dataset 
composed of
> Unstructured grids in order to access to
> GetPointData().GetArray('TemperatureField') on my grids. I'm having 
trouble
> understanding how to access to this information because the help of 
ParaView
> says that a Fetch is not working on MultiBlock datasets. I indeed tried
> servermanager.Fetch() on my dataset and I cannot access anything later.
> Should I call the fetch with an ExtractBlock filter? Should I use a 
special
> "reduction kind" of filter for that? In this case what are the 
parameters of
> the fetch, someone know it?
>
> Thanks in advance,
>
> Alejandro.
>
>
> Ce message et toutes les pièces jointes (ci-après le 'Message') sont 
établis
> à l'intention exclusive des destinataires et les informations qui y 
figurent
> sont strictement confidentielles. Toute utilisation de ce Message non
> conforme à sa destination, toute diffusion ou toute publication totale 
ou
> partielle, est interdite sauf autorisation expresse.
>
> Si vous n'êtes pas le destinataire de ce Message, il vous est interdit 
de le
> copier, de le faire suivre, de le divulguer ou d'en utiliser tout ou 
partie.
> Si vous avez reçu ce Message par erreur, merci de le supprimer de votre
> système, ainsi que toutes ses copies, et de n'en garder aucune trace sur
> quelque support que ce soit. Nous vous remercions également d'en avertir
> immédiatement l'expéditeur par retour du message.
>
> Il est impossible de garantir que les communications par messagerie
> électronique arrivent en temps utile, sont sécurisées ou dénuées de 
toute
> erreur ou virus.
> ____________________________________________________
>
> This message and any attachments (the 'Message') are intended solely for 
the
> addressees. The information contained in this Message is confidential. 
Any
> use of information contained in this Message not in accord with its 
purpose,
> any dissemination or disclosure, either whole or partial, is prohibited
> except formal approval.
>
> If you are not the addressee, you may not copy, forward, disclose or use 
any
> part of it. If you have received this message in error, please delete it 
and
> all copies from your system and notify the sender immediately by return
> message.
>
> E-mail communication cannot be guaranteed to be timely secure, error or
> virus-free.
>
>
> _______________________________________________
> Paraview-developers mailing list
> Paraview-developers at paraview.org
> http://public.kitware.com/mailman/listinfo/paraview-developers
>




Ce message et toutes les pièces jointes (ci-après le 'Message') sont établis à l'intention exclusive des destinataires et les informations qui y figurent sont strictement confidentielles. Toute utilisation de ce Message non conforme à sa destination, toute diffusion ou toute publication totale ou partielle, est interdite sauf autorisation expresse.

Si vous n'êtes pas le destinataire de ce Message, il vous est interdit de le copier, de le faire suivre, de le divulguer ou d'en utiliser tout ou partie. Si vous avez reçu ce Message par erreur, merci de le supprimer de votre système, ainsi que toutes ses copies, et de n'en garder aucune trace sur quelque support que ce soit. Nous vous remercions également d'en avertir immédiatement l'expéditeur par retour du message.

Il est impossible de garantir que les communications par messagerie électronique arrivent en temps utile, sont sécurisées ou dénuées de toute erreur ou virus.
____________________________________________________

This message and any attachments (the 'Message') are intended solely for the addressees. The information contained in this Message is confidential. Any use of information contained in this Message not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval.

If you are not the addressee, you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and all copies from your system and notify the sender immediately by return message.

E-mail communication cannot be guaranteed to be timely secure, error or virus-free.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20130227/c97eb9d1/attachment.htm>


More information about the Paraview-developers mailing list