[Paraview] Input multiple arrays for processing in ProgrammableFilter

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Tue Nov 21 17:40:00 EST 2017


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



On Tue, Nov 21, 2017 at 3:34 PM, Messner, Mark Christian
<messner at 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)
> 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
>
> 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
>


More information about the ParaView mailing list