Hello!
Why I always get the Cannot read properties of undefined (reading ‘getCellType’) error while trying to get cell, cellType or getCellPoints from source object?
It would seem that I am doing a very simple thing, just trying to get some info about a cell, but for each method associated with a cell, the method publicAPI.getCellType = cellId => model.cells.getCellType(cellId);
is called under the hood, which breaks the application. I am using custom polydata and thought that something was wrong with it, but even the standard vtkCubeSource
returns the same error.
What could be the problem?