[Paraview-developers] GlobalResultArrayInfo AND GlobalResultArrayStatus returning NULL

Moreland, Kenneth kmorel at sandia.gov
Tue Oct 13 15:00:09 EDT 2009


Jon,

You neglected to specify what type of proxy meshReaderProxy is.  I assume it is pointing to an Exodus reader based on the property you are trying to access.

I think this is my fault.  I recently made changes to the Exodus XML definition to make the names of the properties conform to their labels.  Having different names and labels was creating havoc with Python scripting.  Thus, the names of properties like GlobalResultArrayInfo were changed be the same as their label.  Try "GlobalVariablesInfo" instead.

-Ken


On 10/13/09 2:47 PM, "Goldman, Jon" <jgoldma at sandia.gov> wrote:

I am seeing a problem with a 10-12-2009 CVS checkout of ParaView (trunk), where calls to GetProperty("GlobalResultArrayInfo") and GetProperty("GlobalResultArrayStatus") are returning NULL.

So this call:

   vtkSMProperty * prop;
   prop = meshReaderProxy->GetProperty("GlobalResultArrayInfo");

Used to return a valid pointer (from an August 4 or 5 ParaView checkout on trunk).
meshReaderProxy->GetProperty("GlobalResultArrayStatus") is also returning Null.
I didn't dig too deep but for some reason

        vtkSMProxy::GetProperty(const char* name, int selfOnly)

can't find the GlobalResultArrayInfo property (in my 10/12 checkout) and is returning NULL.
Is this a bug, or am I doing something wrong?

-Jon


_______________________________________________
Paraview-developers mailing list
Paraview-developers at paraview.org
http://public.kitware.com/mailman/listinfo/paraview-developers




   ****      Kenneth Moreland
    ***      Sandia National Laboratories
***********
*** *** ***  email: kmorel at sandia.gov
**  ***  **  phone: (505) 844-8919
    ***      web:   http://www.cs.unm.edu/~kmorel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20091013/3155d311/attachment.htm>


More information about the Paraview-developers mailing list