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
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview