Re: [Paraview] How to change the Representation within a Plugin ?

2013-01-03 Thread Utkarsh Ayachit
Try: vtkSMPropertyHelper(repr-getProxy(), RadiusArray).Set(4, radius); ... repr-getProxy()-UpdateVTKObjects(); Utkarsh On Wed, Jan 2, 2013 at 2:57 PM, Christian Richter christian.rich...@ovgu.de wrote: Thank you Utkarsh, thas does the trick. Can you give me a hint how I can do

Re: [Paraview] How to change the Representation within a Plugin ?

2013-01-02 Thread Utkarsh Ayachit
Try calling the following before src-updatePipeline() before attempting to create the representation. The reader hasn't been executed yet and hence it doesn't provide any information about what type of data it will produce and hence createDataRepresentation() cannot create any data-representation

Re: [Paraview] How to change the Representation within a Plugin ?

2013-01-02 Thread Christian Richter
Thank you Utkarsh, thas does the trick. Can you give me a hint how I can do DataRepresentation1.RadiusArray = [None, 'radius'] //python trace in C++ ? Thanks, Christian Zitat von Utkarsh Ayachit utkarsh.ayac...@kitware.com: Try calling the following before src-updatePipeline() before

[Paraview] How to change the Representation within a Plugin ?

2013-01-01 Thread Christian Richter
Hi, I've written a Plugin to use Paraview as LiveView for our simulation Data. With a QFileSystemWatcher the Plugin updates the filenames of the fileseries-reader everytime a new result-file was written to disk. Now I want to change the Representation from Point to Point Sprite