Re: [Paraview] Paraview 5.4.1 error message & freeze

2017-10-03 Thread Cory Quammen
On Tue, Oct 3, 2017 at 3:31 PM, Sonya Davydycheva wrote: > Hello, > > Does anybody know what this Output message mean? (appears when I press > "Example Visuatizations"... thougth, some examples emerge), > - > QWindowsWindow::setGeometry: Unable to set geometry

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

[Paraview] Paraview 5.4.1 error message & freeze

2017-10-03 Thread Sonya Davydycheva
Hello, Does anybody know what this Output message mean? (appears when I press "Example Visuatizations"... thougth, some examples emerge), - QWindowsWindow::setGeometry: Unable to set geometry 996x403+228+226 on QWidgetWindow/'pqExampleVisualizationsDialogWindow'. Resulting geometry:

Re: [Paraview] "Reload Files" Hotkey Acting on Individual Items --- Expected?

2017-10-03 Thread Joel Kulesza
Joachim, Excellent, thank you for that snippet—it worked perfectly. My thanks also for correcting my terminology. Is this something that would merit adding to ParaView's native functionality (e.g., File -> Reload Files & File -> Reload All Files)? Best regards, Joel On Tue, Oct 3, 2017 at

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] "Reload Files" Hotkey Acting on Individual Items --- Expected?

2017-10-03 Thread Joachim Pouderoux
Hi Joel, You are right, the Reload feature only applies to the active source (reader). As in Python paraview.simple provides a function to reload the files of a source proxy, you could add the following Python Macro to reload all reader sources at once: from paraview.simple import * for k,v in

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

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

2017-10-03 Thread Utkarsh Ayachit
Dennis, Before I answer the question, I need to know what are you adding this property on? Is this a filter or a reader? The difference is that for a reader, the information about arrays available is provided by the reader itself; while for filter, that information is obtained from its input.

[Paraview] Details of XML filter with lists of input arrays

2017-10-03 Thread Dennis Conklin
All, I'm confused about how to write an XML plugin that lets the user select input variables for processing. Say I want to put up a list of cell variables and let the user select which ones to process: I see this: