Hi Richard and Dave,
I think that the way the VisIt plugin currently communicates information
between client and server is not going to work with state.
The way it is now the plugin repeatedly sends variable length vectors of
array,block,material ids,, etc one array for each mesh. Each of these
might have a different size depending on the user's selections. In order
to work around the fact that PV sm vector props don't support variable
length vectors it also expects the array of mesh ids to be sent first,
from this it sizes the other arrays to fit what will be incoming.
One solution would be to serialize the users selections in a single
string, using sm string vector property to send server side. That would
work with state. Otherwise I'm afraid your going to have to do some
heavy sm programming.
I regret the way I did that, if it's helpful I'll volunteer to fix it.
Burlen
Dave Partyka wrote:
Hi Richard, please do. I will try running your steps with a debug
build and see if I can track down the crash.
Thanks for tracking this down!
On Tue, Jan 26, 2010 at 7:25 AM, Richard GRENON
<richard.gre...@onera.fr <mailto:richard.gre...@onera.fr>> wrote:
Hello.
I have made an additional test: grouping all tecplot files in a
same dataset before any other operation allows to use the saved
state file.
Test 1: the simple pipeline that cannot be used as saved state:
- open Tecplot File 1
|
extract subset 1
- open Tecplot File 2
|
extract subset 2
- group subset 1 and subset 2 in new dataset 1
- coloring the dataset 1
Saving state of this pipeline, loading the pvsm file crashes PV.
Test 2: the more complex pipeline that can be used as a saved state:
- Open Tecplot File 1
- Open Tecplot File 2
- group loaded Tecplot Files 1 and 2 in new dataset 1
|
extract block 1 from dataset 1 (content of Tecplot file 1)
extract subset 1 from bloc 1
|
extract block 2 from dataset 1 (content of Tecplot file 2)
extract subset 2 from block 2
- group subset 1 and subset 2 in dataset 2
- coloring the dataset 2
Saving state of this pipeline, the pvsm file can be used.
Note: After loading the pvsm file, you must go on the reader of
each tecplot file, select the arrays (unselected by default), then
click apply.
Of course, I can attach the two corresponding pvsm files if it may
help.
Best regards
--
Richard GRENON
ONERA
Departement d'Aerodynamique Appliquee - DAAP/ACI
8 rue des Vertugadins
92190 MEUDON - FRANCE
phone : +33 1 46 73 42 17
fax : +33 1 46 73 41 46
mailto:richard.gre...@onera.fr <mailto:richard.gre...@onera.fr>
http://www.onera.fr
_______________________________________________
Powered by www.kitware.com <http://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
------------------------------------------------------------------------
_______________________________________________
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
_______________________________________________
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