Utkarsh, So, for the first example we have:
<<<<<<<<<<<<<<<<<<<< <InputProperty command="SetInputConnection" name="Input"> <ProxyGroupDomain name="groups"> <Group name="sources" /> <Group name="filters" /> </ProxyGroupDomain> <DataTypeDomain name="input_type"> <DataType value="vtkDataSet" /> </DataTypeDomain> <InputArrayDomain attribute_type="cell" name="input_array" number_of_components="1" /> </InputProperty> I get that the InputTypeDomain links it to cell arrays! - thanks for that. So, after the user chooses some variables, are the chosen variable names in "input_array"? Or does "input_array" contain True or False based on which he chose, in which case where are the corresponding names of the variables? Thanks Dennis -----Original Message----- From: Utkarsh Ayachit [mailto:[email protected]] Sent: Tuesday, October 03, 2017 2:08 PM To: Dennis Conklin <[email protected]> Cc: Paraview ([email protected]) <[email protected]> Subject: Re: [EXT] Re: [Paraview] Details of XML filter with lists of input arrays > To be more exact, I wrote a routine here that does an area-weighted average > of some variables. Now the users are asking if I can give them a list of > variables in the model and they can choose which ones to calculate a weighted > average. There are many filters you can base this on. Here are a few examples: 1. https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitlab.kitware.com%2Fparaview%2Fparaview%2Fblob%2Fmaster%2FParaViewCore%2FServerManager%2FSMApplication%2FResources%2Ffilters.xml%23L2026-2041&data=01%7C01%7Cdennis_conklin%40goodyear.com%7C2d092bbd37874ba5a79208d50a89a1b9%7C939e896692854a9a9f040887efe8aae0%7C0&sdata=QEPymOcagk%2B2VVfYRhBkt1ujub7DJqalAo9cA7YFX%2BU%3D&reserved=0 Here the arrays to list is determined by the "InputArrayDomain" element defined on the InputProperty and fixed to cell data. 2. https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitlab.kitware.com%2Fparaview%2Fparaview%2Fblob%2Fmaster%2FParaViewCore%2FServerManager%2FSMApplication%2FResources%2Ffilters.xml%23L13865-13881&data=01%7C01%7Cdennis_conklin%40goodyear.com%7C2d092bbd37874ba5a79208d50a89a1b9%7C939e896692854a9a9f040887efe8aae0%7C0&sdata=YLFBNug7u6HJZo87izm6muSvpMJCzKaFDIYnwcBAp%2B8%3D&reserved=0 Here the user can separately select which attribute he/she is interested in using a separate "AttributeMode" property. Utkarsh _______________________________________________ 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
