I got this working.  I was just missing the following tag in my input:

        <InputArrayDomain name="input_array" attribute_type="point"
                          number_of_components="3"/>

Regards,
Paul

On 6 October 2011 13:04, Paul Edwards <[email protected]> wrote:

> Hi,
>
> I would like to have an input property for my plugin to allow the user to
> choose a vector from the input data source.  I add this to my XML (copied
> from the stream tracer):
>
>      <StringVectorProperty
>        name="SelectInputVectors"
>        command="SetInputArrayToProcess"
>        number_of_elements="5"
>        element_types="0 0 0 0 2"
>        animateable="0"
>        label="Vectors">
>            <ArrayListDomain name="array_list" attribute_type="Vectors">
>              <RequiredProperties>
>                 <Property name="Input" function="Input"/>
>              </RequiredProperties>
>            </ArrayListDomain>
>            <Documentation>
>              This property contains the name of the vector array from which
> to generate streamlines.
>            </Documentation>
>      </StringVectorProperty>
>
> This only gives an empty combo box.  What else do I need to do?
>
> Thanks in advance,
> Paul
>
_______________________________________________
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

Reply via email to