Convert dataset to PolyData

How do you convert a 2D dataset to PolyData in VTK? I would use Extract Surface in Paraview, but the documentation for vtkExtractSurface seems to describe something different, and it requires a PolyData input. It may also matter that I’m starting from a MultiBlock dataset (from ExodusII, if that matters).




1 Like

Edit: The equivalent code works fine in Python. It seems more likely that I botched something building the VTK library.

When I try, I get this error at runtime: