getCellType error

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?

Try to post a sample code that produces the issue otherwise maybe you are doing things in the wrong way ?