Re: [Paraview] [EXT] Re: Details of XML filter with lists of input arrays

2017-10-05 Thread Dennis Conklin
Utkarsh, Thanks for that information - I have figured it out now. A few notes for others who are or will in the future follow this subject: The object of this exercise is to write a Programmable Filter that will put up a list of your Cell or Point variables and allow the user to select which

Re: [Paraview] [EXT] Re: Details of XML filter with lists of input arrays

2017-10-04 Thread Utkarsh Ayachit
Dennis, Oops sorry, it slipped my mind you were doing this for programmable filter. It should be doable, but I'll need to dig -- don't remember of the top of my head. I'll put it on my plate to put together a small example for you. Utkarsh On Wed, Oct 4, 2017 at 7:59 AM, Dennis Conklin

Re: [Paraview] [EXT] Re: Details of XML filter with lists of input arrays

2017-10-04 Thread Dennis Conklin
Utkarsh, I think you have me confused with a real programmer! ;- ) I am just trying to write a Programmable Filter in python and I'm lost. I want to write an xml plugin that will put up a list of all the cell variables and let the user select from then and then have the names of those

Re: [Paraview] [EXT] Re: Details of XML filter with lists of input arrays

2017-10-03 Thread Utkarsh Ayachit
> 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? When user selects variables, he's doing it on the

Re: [Paraview] [EXT] Re: Details of XML filter with lists of input arrays

2017-10-03 Thread Dennis Conklin
Utkarsh, So, for the first example we have: I get that the InputTypeDomain links it to cell arrays! - thanks for that. So, after the user chooses some variables, are the chosen

Re: [Paraview] [EXT] Re: Details of XML filter with lists of input arrays

2017-10-03 Thread Utkarsh Ayachit
> 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.

Re: [Paraview] [EXT] Re: Details of XML filter with lists of input arrays

2017-10-03 Thread Dennis Conklin
All, 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.I can envision a Custom filter where I have a

Re: [Paraview] [EXT] Re: Details of XML filter with lists of input arrays

2017-10-03 Thread Dennis Conklin
Utkarsh, I am adding this property on a filter, so it’s input – I want to process some variables and let the user choose which of his variables to process! Thanks Dennis From: Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com] Sent: Tuesday, October 03, 2017 1:24 PM To: Dennis Conklin