[Paraview] question on using python programmable source

Berk Geveci berk.geveci at kitware.com
Fri May 30 11:09:11 EDT 2008


Sreejith,

Please keep the discussion on the mailing list.

You can either create a custom filter that embeds your python script
(see the Tools menu) or you can write a python script to do this
automatically. See here:
http://paraview.org/Wiki/images/f/f9/Servermanager2.pdf

-berk

On Fri, May 30, 2008 at 10:48 AM, Sreejith Kuttanikkad
<sreejithpk at gmail.com> wrote:
>
>
> On Fri, May 30, 2008 at 4:44 PM, Sreejith Kuttanikkad <sreejithpk at gmail.com>
> wrote:
>>
>>
>> On Fri, May 30, 2008 at 2:44 PM, Berk Geveci <berk.geveci at kitware.com>
>> wrote:
>>>
>>> You have to take the creation of vtkPoints() outside the main loop
>>> otherwise you will add the points for the last cell only. Also, you
>>> should probably not call Allocate() inside the loop.
>>>
>>> -berk
>
> Perhaps a stupid question. ??
>  Now whenever i need to use this script, each time i have to copy paste from
> my system to the  paraview programmable source page. Is this the way it
> works or is it possible to run the script  outside paraview and produce vtk
> output and then open the output using paraview.??
> thank you
> Sreejith
>
>


More information about the ParaView mailing list