Re: [Paraview] Cannot access information from second input array in a XML custom filter

2016-08-15 Thread Utkarsh Ayachit
See the attached plugin XML. You just need to specify the array index as default_values other it gets initialized to 0. On Mon, Aug 15, 2016 at 1:17 PM, Evan Kao wrote: > Hey guys, > > Just a bump in case anyone who can answer my question missed this. > Basically, is it

Re: [Paraview] Cannot access information from second input array in a XML custom filter

2016-08-15 Thread Evan Kao
Hey guys, Just a bump in case anyone who can answer my question missed this. Basically, is it possible to specify two input array drop down menus in a Custom Filter XML file and get the array information from both? I can get two drop down menus in the Properties panel, but can only get

[Paraview] Cannot access information from second input array in a XML custom filter

2016-08-05 Thread Evan Kao
Hey all, I'm trying to create a custom filter (using vtkPythonProgrammableFilter) that allows the user to specify two input arrays (the XML file is attached). As a guide, I mimicked the XML specifications for the Glyphs filter in the filters.xml file. The filter appears as it should, but I