DataArray example

Call vtk.Common.Core.vtkDoubleArray.newInstance(), and then I’m not really sure how to add an array… I don’t have much experience with vtk.js. Given your polydata that I’ll call pd and a data array that I’ll call array, try pd.getPointData().addArray(array) ?