pyvista.ExplicitStructuredGrid.dimensionality

pyvista.ExplicitStructuredGrid.dimensionality#

property ExplicitStructuredGrid.dimensionality: int[source]#

Return the dimensionality of the grid.

Returns:
int

The grid dimensionality.

Examples

>>> from pyvista import examples
>>> grid = examples.load_explicit_structured()
>>> grid.dimensionality
3