I’m trying to upgrade my code to use 9.6 instead of 9.4. I used to use GetCellTypesArray to get the cell type for every cell in my unstructured grid. The deprecation warning says to use GetCellTypes instead. However, this function wants an argument and won’t be called without one. If I try passing in an empty vtkCellTypes variable, it populates it, but I can’t get that to run through vtk_to_numpy.
I’m just looking for a replacement for: cellTypes = vtk_to_numpy(ug.GetCellTypesArray())
The help shows that it should be able to be called without an argument and do what I need, so I’m not sure what I’m missing.
Thanks!