Thanks, that works.
Mark ________________________________ From: Utkarsh Ayachit <utkarsh.ayac...@kitware.com> Sent: Tuesday, November 21, 2017 4:40 PM To: Messner, Mark Christian Cc: paraview@paraview.org Subject: Re: [Paraview] Input multiple arrays for processing in ProgrammableFilter Mark, Add another property on the filter and add `default_values="1"` attribute it. For example see this [1]. Utkarsh [1] https://gitlab.kitware.com/paraview/paraview/blob/master/ParaViewCore/ServerManager/SMApplication/Resources/filters.xml#L5759-5780 ParaViewCore/ServerManager/SMApplication/Resources/filters.xml · master · ParaView / ParaView<https://gitlab.kitware.com/paraview/paraview/blob/master/ParaViewCore/ServerManager/SMApplication/Resources/filters.xml#L5759-5780> gitlab.kitware.com Parallel Data Analysis and Visualization Application based on VTK. On Tue, Nov 21, 2017 at 3:34 PM, Messner, Mark Christian <mess...@anl.gov> wrote: > Following the example in the wiki > (https://www.paraview.org/Wiki/ParaView/Plugin_HowTo#Drop_down_list_with_values_from_input_arrays) ParaView/Plugin HowTo - KitwarePublic<https://www.paraview.org/Wiki/ParaView/Plugin_HowTo#Drop_down_list_with_values_from_input_arrays> www.paraview.org Introduction. ParaView comes with plethora of functionality bundled in: several readers, multitude of filters, quite a few different types of views etc. > I can add a dropdown to my xml plugin to grab an array to process with a > programmable filter. But I want to process two arrays. How can I do this? > It's obviously related to the "idx" parameter of SetInputArrayToProcess in > vtkAlgorithm but I can't figure out how to make the paraview GUI cooperate. > > > Thanks, > > > Mark > > > _______________________________________________ > Powered by www.kitware.com<http://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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview >
_______________________________________________ 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 Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview