I'm not sure we can diagnose the problem with this information. Are you sure that the variable names are being read and stored in the RequestInformation method? If you don't read them until RequestData, then it is too late.
-Ken On 11/20/09 4:12 PM, "Erik Rasmussen" <ras...@rasmsys.com> wrote: I have written a reader for some cloud model output arrays that are a custom binary format. I essentially cloned the netCDF reader, and rewrote the internals of the methods of that reader. It seems to work fine. However, I can't seem to get the array names to display in the Properties tab after the file is selected. This is the relevant XML, stolen from /ServerManager/readers.xml: <StringVectorProperty name="VariableArrayInfo" information_only="1"> <ArraySelectionInformationHelper attribute_name="Variable"/> </StringVectorProperty> <StringVectorProperty name="VariableArrayStatus" command="SetVariableArrayStatus" number_of_elements="0" repeat_command="1" number_of_elements_per_command="2" element_types="2 0" information_property="VariableArrayInfo" label="Variables"> <ArraySelectionDomain name="array_list"> <RequiredProperties> <Property name="VariableArrayInfo" function="ArrayList" /> </RequiredProperties> </ArraySelectionDomain> <Documentation> This property lists which SAM variables to load. </Documentation> </StringVectorProperty> When the Apply button is pressed, my debug output shows me a whole lot of these messages which lead me to believe that the Properties tab is about to be filled in, but I've done something wrong that just prevents the process from completing: vtkSAMReader::GetVariableArrayName will return mixing coefficient (m^2/s) vtkSAMReader::GetVariableArrayStatus .. will return 1 for mixing coefficient (m^2/s) vtkSAMReader::GetVariableArrayName will return potential temperature (K) vtkSAMReader::GetVariableArrayStatus .. will return 1 for potential temperature (K) I'm using paraview-3.6.1-Linux-i686 I'm just getting started with writing and implementing filters, so the problem is probably pretty obvious. Thanks for any help! Erik _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview **** Kenneth Moreland *** Sandia National Laboratories *********** *** *** *** email: kmo...@sandia.gov ** *** ** phone: (505) 844-8919 *** web: http://www.cs.unm.edu/~kmorel
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview