[Paraview] Bug in Programmable Source

Aurélien Marsan aur.marsan at gmail.com
Mon Apr 26 03:55:05 EDT 2010


I have tried , and that was it.
Thanks !

Le 23 avril 2010 20:25, Berk Geveci <berk.geveci at kitware.com> a écrit :

> I suspect that this is because you did not set the whole extent in the
> RequestInformation script. You need something like:
>
> from paraview import util
> util.SetOutputWholeExtent(self, [0, 10, 0, 10, 0, 30])
>
> where the list is i_min, i_max, j_min, j_max, k_min, k_max for the
> structured grid. In some cases, this requires actually reading the
> data in RequestInformation.
>
> -berk
>
> 2010/4/23 Aurélien Marsan <aur.marsan at gmail.com>:
>  > Hello,
> >
> > I use a personnal reader that creates a vtk.vtkStructuredGrid.
> > I realize the programmable source, with this script :
> >
> >>
> >> import PersoModule
> >> self.GetOutput().DeepCopy(PersoModule.Read(.........))
> >
> >
> > If at first, I choose Output Data Type as PolyData, click on Apply, and
> then
> > choose Output Data Type as StructuredGrid and click on "Apply" again, it
> > works.
> >
> > But if I choose Output Data Type = StructuredGrid directly, nothing
> appears,
> > and the Output is empty.
> >
> > Do i do something wrong ?
> >
> > A.MARSAN
>  > _______________________________________________
> > 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
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20100426/a3528cd3/attachment.htm>


More information about the ParaView mailing list