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 996x403+228+226 on
> QWidgetWindow/'pqExampleVisualizationsDialogWindow'. Resulting geometry:
> 996x412+228+226 (frame: 9, 36, 9, 9, custom margin: 0, 0, 0, 0, minimum
> size: 956x403, maximum size: 16777215x16777215).QWindowsWindow::setGeometry:
> Unable to set geometry 996x403+228+226 on
> QWidgetWindow/'pqExampleVisualizationsDialogWindow'. Resulting geometry:
> 996x412+228+226 (frame: 9, 36, 9, 9, custom margin: 0, 0, 0, 0, minimum
> size: 956x403, maximum size: 16777215x16777215).
> --

The message is a warning from the Qt side. Aside from being annoying,
it should be harmless. Sorry, but we haven't figured out why this
appears on some systems and not others.

> Also, my Paraview 5.4.1 (installed under 64-bit Windows 7, ) often freezes.
> I wonder if this can be related to the issue above.

Does it stop responding or does it crash? It's probably not related to
the warning message above.

Cory

> Thanks,
>
> Sonya Davydycheva
>
>
>
> ___
> 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
>

-- 
Cory Quammen
Staff R&D Engineer
Kitware, Inc.
___
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


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 "VolumeArrays"
property. Thus the selection is provided to the VTK filter via calling
the command specified on the "VolumeArrays" property. In the case of
the ExtractCTHParts files, this is done via `AddVolumeArrayName` and
`RemoveVolumeArrayNames` API.
___
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


[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:
996x412+228+226 (frame: 9, 36, 9, 9, custom margin: 0, 0, 0, 0, minimum
size: 956x403, maximum size:
16777215x16777215).QWindowsWindow::setGeometry: Unable to set geometry
996x403+228+226 on QWidgetWindow/'pqExampleVisualizationsDialogWindow'.
Resulting geometry: 996x412+228+226 (frame: 9, 36, 9, 9, custom margin: 0,
0, 0, 0, minimum size: 956x403, maximum size: 16777215x16777215).
--
Also, my Paraview 5.4.1 (installed under 64-bit Windows 7, ) often freezes.
I wonder if this can be related to the issue above.

Thanks,

Sonya Davydycheva 
___
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


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 12:25 PM, Joachim Pouderoux <
joachim.pouder...@kitware.com> wrote:

>
> 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 GetSources().items():
>
>   ReloadFiles(v)
>
> Best regards,
>
> *Joachim Pouderoux*, PhD
>
> *Technical Expert - Scientific Computing Team*
> *Kitware SAS *
>
>
> 2017-09-29 14:12 GMT-04:00 Joel Kulesza :
>
>> Colleagues:
>>
>> In the File menu I would expect that the "Reload Files (F5)" command
>> would apply to all items in the pipeline browser rather than the one
>> currently selected or last acted on.  For individual reloading, I would
>> expect to need to use the right-click approach to "Reload Files."  However,
>> this does not seem to be the case.  If I open multiple, independent, data
>> files that I want to plot together, I must select each one in the pipeline
>> browser and reload it (either via F5 or right-clicking) to see changes.
>>
>> Am I correct that the "reload files" hotkey only applies to the currently
>> selected or last used item (a file or collection of time-series files) in
>> the pipeline browser?  If so, is there a method to reload all items in the
>> pipeline browser (ideally avoiding the need to select all the files)?  If
>> not, can this be added as an enhancement request (e.g., menu item/hotkey
>> for Reload All Files)?
>>
>> I'm using ParaView 5.4.1 in OS X 10.11.6.
>>
>> Please contact me with any comments, questions, or concerns.
>>
>> Thank you,
>> Joel
>>
>> Joel A. Kulesza, P.E.Ph.D. Candidate / Graduate Student Researcher
>>  University of Michigan, College of EngineeringNuclear Engineering &
>> Radiological Sciences Dept.2355 Bonisteel Boulevard
>> 
>> Ann Arbor, MI 48109
>> -2104,
>> USAMobile:  +1 (734) 223-7312 <+1%20734-223-7312>Email:
>> jkulesza@umich.eduHome Page:  http://www.engin.umich.edu/ners/
>>
>> ___
>> 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
>>
>>
>
___
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


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 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:utkarsh.ayac...@kitware.com] 
Sent: Tuesday, October 03, 2017 2:08 PM
To: Dennis Conklin 
Cc: Paraview (paraview@paraview.org) 
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


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 GetSources().items():

  ReloadFiles(v)

Best regards,

*Joachim Pouderoux*, PhD

*Technical Expert - Scientific Computing Team*
*Kitware SAS *


2017-09-29 14:12 GMT-04:00 Joel Kulesza :

> Colleagues:
>
> In the File menu I would expect that the "Reload Files (F5)" command would
> apply to all items in the pipeline browser rather than the one currently
> selected or last acted on.  For individual reloading, I would expect to
> need to use the right-click approach to "Reload Files."  However, this does
> not seem to be the case.  If I open multiple, independent, data files that
> I want to plot together, I must select each one in the pipeline browser and
> reload it (either via F5 or right-clicking) to see changes.
>
> Am I correct that the "reload files" hotkey only applies to the currently
> selected or last used item (a file or collection of time-series files) in
> the pipeline browser?  If so, is there a method to reload all items in the
> pipeline browser (ideally avoiding the need to select all the files)?  If
> not, can this be added as an enhancement request (e.g., menu item/hotkey
> for Reload All Files)?
>
> I'm using ParaView 5.4.1 in OS X 10.11.6.
>
> Please contact me with any comments, questions, or concerns.
>
> Thank you,
> Joel
>
> Joel A. Kulesza, P.E.Ph.D. Candidate / Graduate Student Researcher
>  University of Michigan, College of EngineeringNuclear Engineering &
> Radiological Sciences Dept.2355 Bonisteel Boulevard
> Ann Arbor, MI 48109-2104, USAMobile:  +1 (734) 223-7312
> <+1%20734-223-7312>Email:  jkulesza@umich.eduHome Page:
> http://www.engin.umich.edu/ners/
>
> ___
> 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
>
>
___
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


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. Here are a few examples:

1. 
https://gitlab.kitware.com/paraview/paraview/blob/master/ParaViewCore/ServerManager/SMApplication/Resources/filters.xml#L2026-2041

Here the arrays to list is determined by the "InputArrayDomain"
element defined on the InputProperty and fixed to cell data.

2. 
https://gitlab.kitware.com/paraview/paraview/blob/master/ParaViewCore/ServerManager/SMApplication/Resources/filters.xml#L13865-13881

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


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 Programmable filter 
which processes everything, preceded by a Pass Arrays filter  - I could bundle 
them together and expose the Pass Arrays filter to let them choose which 
variables they want, but I think the self-contained plug-in which I can add to 
the site Plugin directory and get automagically loaded at startup is a better 
way to go if I can just figure out how to do it!

Dennis

From: Dennis Conklin
Sent: Tuesday, October 03, 2017 1:27 PM
To: 'Utkarsh Ayachit' 
Cc: Paraview (paraview@paraview.org) 
Subject: RE: [EXT] Re: [Paraview] Details of XML filter with lists of input 
arrays

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 
mailto:dennis_conk...@goodyear.com>>
Cc: Paraview (paraview@paraview.org) 
mailto:paraview@paraview.org>>
Subject: [EXT] Re: [Paraview] Details of XML filter with lists of input arrays

 WARNING - External email; exercise caution.



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.

Utkarsh

On Tue, Oct 3, 2017 at 8:17 AM, Dennis Conklin 
mailto:dennis_conk...@goodyear.com>> wrote:
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:
https://www.paraview.org/Wiki/ParaView/Plugin_HowTo#Drop_down_list_with_values_from_input_arrays
but it is not clear to me.
My questions include:


  1.  How do I get Cell variables, point variables or field variables – which 
is the example, or do we always get all 3?
  2.  Within my code, how do I know what variables have been selected by the 
user from the list?
Thanks for all for any help.

Dennis


___
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

___
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: 

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 
Cc: Paraview (paraview@paraview.org) 
Subject: [EXT] Re: [Paraview] Details of XML filter with lists of input arrays

 WARNING - External email; exercise caution.



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.

Utkarsh

On Tue, Oct 3, 2017 at 8:17 AM, Dennis Conklin 
mailto:dennis_conk...@goodyear.com>> wrote:
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:
https://www.paraview.org/Wiki/ParaView/Plugin_HowTo#Drop_down_list_with_values_from_input_arrays
but it is not clear to me.
My questions include:


  1.  How do I get Cell variables, point variables or field variables – which 
is the example, or do we always get all 3?
  2.  Within my code, how do I know what variables have been selected by the 
user from the list?
Thanks for all for any help.

Dennis


___
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

___
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


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.

Utkarsh

On Tue, Oct 3, 2017 at 8:17 AM, Dennis Conklin 
wrote:

> 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:
>
> https://www.paraview.org/Wiki/ParaView/Plugin_HowTo#Drop_
> down_list_with_values_from_input_arrays
>
> but it is not clear to me.
>
> My questions include:
>
>
>
>1. How do I get Cell variables, point variables or field variables –
>which is the example, or do we always get all 3?
>2. Within my code, how do I know what variables have been selected by
>the user from the list?
>
> Thanks for all for any help.
>
>
>
> Dennis
>
>
>
> ___
> 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
>
>
___
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


[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:
https://www.paraview.org/Wiki/ParaView/Plugin_HowTo#Drop_down_list_with_values_from_input_arrays
but it is not clear to me.
My questions include:


  1.  How do I get Cell variables, point variables or field variables - which 
is the example, or do we always get all 3?
  2.  Within my code, how do I know what variables have been selected by the 
user from the list?
Thanks for all for any help.

Dennis

___
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