pyvista.MultiBlock.as_unstructured_grid_blocks#
- MultiBlock.as_unstructured_grid_blocks(
- copy: bool = False,
Convert all the datasets within this MultiBlock to
UnstructuredGrid
.Added in version 0.45.
- Parameters:
- copybool, default:
False
Option to create a shallow copy of any datasets that are already a
UnstructuredGrid
. WhenFalse
, any datasets that are already UnstructuredGrid will not be copied.
- copybool, default:
- Returns:
MultiBlock
MultiBlock containing only
UnstructuredGrid
datasets.
See also
Notes
Null blocks are converted to empty
UnstructuredGrid
objects. Downstream filters that operate on UnstructuredGrid may not accept MultiBlocks with null blocks.