[Paraview] AddArray does not influence the GUI
Henning
uerland at gmail.com
Thu Jan 31 09:48:21 EST 2013
Hi,
I try to add an array to PointData of a vtkUnstructuredGrid object:
Source1info = GetActiveSource()
Source1 = servermanager.Fetch(Source1info)
test = vtk.vtkDoubleArray()
test.SetName('test')
test.SetNumberOfTuples(Source1.GetNumberOfPoints())
Source1.GetPointData().AddArray(test)
Unfortunately the newly added array does not show up in the GUI. How can this be achieved?
Thanks
Henning
More information about the ParaView
mailing list