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 <[EMAIL PROTECTED]> 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 > [email protected] > http://www.paraview.org/mailman/listinfo/paraview > > _______________________________________________ ParaView mailing list [email protected] http://www.paraview.org/mailman/listinfo/paraview
