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


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

========OUTPUT==========
[EMAIL PROTECTED] pvpython test.py
vtkPVTextSource : [ ...........]
None
_______________________________________________
ParaView mailing list
[email protected]
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to