[Paraview-developers] GlobalResultArrayInfo AND GlobalResultArrayStatus returning NULL

Goldman, Jon jgoldma at sandia.gov
Tue Oct 13 15:08:33 EDT 2009


Yes it is an Exodus reader,
And changing to "GlobalVariablesInfo" appears to have fixed it.
Thanks,
-Jon




From: Moreland, Kenneth 
Sent: Tuesday, October 13, 2009 1:00 PM
To: Goldman, Jon; paraview-developers at paraview.org
Subject: Re: [Paraview-developers] GlobalResultArrayInfo AND GlobalResultArrayStatus returning NULL

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



More information about the Paraview-developers mailing list