For a paraview plugin: After vtkUnstructuredGrid* ugridPtr = vtkUnstructuredGrid::New(); ... ugridPtr->Allocate(ncells); is there a way to tell whether the allocation succeeded? Thx...John Cary