# Examples from pyvista.MultiBlock.is_homogeneous
# ===============================================

# Load a dataset with nested multi-blocks. Here we load
# `download_cgns_multi()`.
from pyvista import examples
multi = examples.download_cgns_multi()

# Show the `nested_block_types`.
multi.nested_block_types

# Since there is only one type, the dataset is homogeneous.
multi.is_homogeneous

# ----------------------------------------------------------------------
# Generated by sphinx-examples-as-code https://github.com/pyvista/sphinx-examples-as-code

