[Paraview] TextSource bug in Python
Jacques Papper
jacques.papper at gmail.com
Thu Dec 11 04:49:40 EST 2008
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 ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20081211/7fc1c03c/attachment.htm>
More information about the ParaView
mailing list