[Paraview] TextSource bug in Python

Jacques Papper jacques.papper at gmail.com
Thu Dec 11 10:40:57 EST 2008


Done!

Thanks,
Jacques

2008/12/11 Utkarsh Ayachit <utkarsh.ayachit at kitware.com>

> Ah...that seems to be a  bug. CreateRepresentation() should have
> handled that case. Can you please add a bug report to the bug tracker
> so that we can address this in the next release.
>
> Thanks
> Utkarsh
>
> On Thu, Dec 11, 2008 at 4:49 AM, Jacques Papper
> <jacques.papper at gmail.com> wrote:
> > Hi all,
> >
> > Following a previous email, the CreateRepresenation(view, textsource)
> > command does not seem to work for me in python.
> >
> > The following though works :
> >
> > legend =
> >
> servermanager.sources.TextSource(registrationGroup='sources',registationName='legend')
> > legend.Text = "BLABLA BLA"
> >
> > legendrep = servermanager.rendering.TextSourceRepresentation()
> > legendrep.Input = legend
> >
> > legendrep.UpdateVTKObjects()
> >
> > view.Representations.append(legendrep)
> >
> >
> > Any explanations ?
> >
> > _______________________________________________
> > ParaView mailing list
> > ParaView at paraview.org
> > http://www.paraview.org/mailman/listinfo/paraview
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20081211/10925fd0/attachment.htm>


More information about the ParaView mailing list