[Paraview] TextSource in python creates None Representation

Jacques Papper jacques.papper at gmail.com
Thu Dec 4 13:36:12 EST 2008

Hi I am running the following script - and get None printed out ... How do I
get a handle on the representation ? Am I doing something wrong ?:

from paraview import servermanager
view = servermanager.CreateRenderView()
Legend = servermanager.sources.TextSource(registrationGroup='sources',
Legend.Text = "Hello The World"
rep = servermanager.CreateRepresentation(Legend, view)
print rep

[jacques.papper at wt]$ pvpython test.py
vtkPVTextSource : [ ...........]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20081204/6cb86328/attachment.htm>

More information about the ParaView mailing list