Re: [Paraview] Xdmf data duplication

2011-08-17 Thread Paul Melis
Hi, On 08/16/2011 06:22 PM, Utkarsh Ayachit wrote: If you're writing out data that is already partitioned, you should write it out as a collection of grids. Then each grid in that collection is read on a separate partition. Manual partitioning was something I was hoping to avoid. I figured

[Paraview] Get name of object in Pipeline Browser

2011-08-17 Thread Lars Bilke
Dear ParaView users, is it possible to programmatically get the name of an object in the Pipeline Browser? To be more specific I need to get this name from a vtkActor. I am writing a exporter plugin (see http://www.mail-archive.com/paraview@paraview.org/msg12939.html) and want to name my

[Paraview] object inspector display panel with views and representations

2011-08-17 Thread Paul Edwards
Hi, I have created a plugin for a new view to use one of representations (another plugin) that I have created but the display tab in the object inspector does not get populated. If I switch back to using a representation with ParaView then it all works. I have reproduced this with a copy of the

Re: [Paraview] Get name of object in Pipeline Browser

2011-08-17 Thread Utkarsh Ayachit
It's not possible, not from a simple exporter plugin.The exporter lives entirely in the VTK world without any knowledge of proxies. A unconventional approach would be explicitly make the exporter plugin link agains the pqCore library, then you can access the pqApplicationCore and other singletons

Re: [Paraview] Get name of object in Pipeline Browser

2011-08-17 Thread Biddiscombe, John A.
It'd probably be easier to add a method to the vtk-exporter class which accepts a string, and from the gui, pass the string in just before export - because you can get it the proxy name from the gui end. Make sure the SetProxyName(char*...) method doesn't call Modified. (ie don't use

Re: [Paraview] Xdmf data duplication

2011-08-17 Thread Paul Melis
Hi Utkarsh, On 08/16/2011 06:22 PM, Utkarsh Ayachit wrote: If you're writing out data that is already partitioned, you should write it out as a collection of grids. Then each grid in that collection is read on a separate partition. I followed your advice, but seem to have hit on another bug,

[Paraview] Python - load state just like when using the GUI

2011-08-17 Thread Villads Egede
Hi, I'm fairly new to Paraview but am trying to get a hang on it. My problem is that I need to make some animations by loading different datasets rendered the same way. After having looked at the state file (pvsm) one can save in the GUI I thought it would be piece of cake to open these

Re: [Paraview] Python - load state just like when using the GUI

2011-08-17 Thread Tim Gallagher
We actually just tried to do the same thing for the first time yesterday and had the same issues... so if anybody has an answer, we'd like it too! Is it just a matter of accessing some kind of data pulled in from the state file and doing a Show() or something? I got the data to appear that way