[Paraview] TextSource bug in Python

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Thu Dec 11 09:01:11 EST 2008


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
>
>


More information about the ParaView mailing list