From jan.hegewald at awi.de Fri Jul 6 05:56:50 2018 From: jan.hegewald at awi.de (=?utf-8?B?8J+QiyBKYW4gSGVnZXdhbGQ=?=) Date: Fri, 6 Jul 2018 11:56:50 +0200 Subject: [Paraview-developers] reader plugin clear file property Message-ID: Dear all, I am working on a reader plugin. It has a property to select multiple files: When I use the reader in Paraview, I can e.g. select 3 files: A.txt;B.txt;C.txt and hit the Apply button. Everything is as expected. Now I want to select other files: X.txt;Y.txt. Hit Apply button. Now AddVariableFile is called 3 times instead of 2, for X.txt Y.txt C.txt I have tried to assign an information_property and provide the correct number of files, but no luck here. Did I miss something in the properties? Is there a way to just clear the whole property from the RemoveAllVariableFiles call? Any help is greatly appreciated. Many TIA, Jan Hegewald From wascott at sandia.gov Wed Jul 18 21:38:26 2018 From: wascott at sandia.gov (Scott, W Alan) Date: Thu, 19 Jul 2018 01:38:26 +0000 Subject: [Paraview-developers] Exodus Reader Message-ID: <2838c1898b1c4daebd021399f5974cf4@ES03AMSNLNT.srn.sandia.gov> Hi guys, I'm trying to debug a problem on a dataset that I can't pass out of Sandia. The issue is that with multiple files, when all blocks and sets are turned off, the blocks still appear. Where is the point that the gui tells the reader whether to read sets and blocks? I assume this is in vtkExodusIIReader.cxx? Where should I place a breakpoint to see what is being returned from the gui? Thanks, Alan -------------------------------------------------------- W. Alan Scott ParaView Support Manager SAIC Sandia National Laboratories, MS 0807 Org 9326 - Building 880 A1-K (505) 284-0932 FAX (505) 284-5619 "When the facts change, I change my mind. What do you do, sir?" John Maynard Keynes --------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.thompson at kitware.com Wed Jul 18 22:11:31 2018 From: david.thompson at kitware.com (David Thompson) Date: Wed, 18 Jul 2018 22:11:31 -0400 Subject: [Paraview-developers] Exodus Reader In-Reply-To: <2838c1898b1c4daebd021399f5974cf4@ES03AMSNLNT.srn.sandia.gov> References: <2838c1898b1c4daebd021399f5974cf4@ES03AMSNLNT.srn.sandia.gov> Message-ID: > ... > I?m trying to debug a problem on a dataset that I can?t pass out of Sandia. The issue is that with multiple files, when all blocks and sets are turned off, the blocks still appear. > > Where is the point that the gui tells the reader whether to read sets and blocks? I assume this is in vtkExodusIIReader.cxx? Yes. > Where should I place a breakpoint to see what is being returned from the gui? You can break in the SetObjectStatus method[1]. That should be what's called regardless of whether it is a block or set (the first argument is the object type). David [1]: https://www.vtk.org/doc/nightly/html/classvtkExodusIIReader.html#aa29aa0ef3f0ab25c83738e17aef98613 -------------- next part -------------- An HTML attachment was scrubbed... URL: