Skip to main content

Prime Mesh Python client library 2025 R2 SP04

compute_volumes

Last update: 20.02.2026

Mesh.compute_volumes(part_expression='*', create_zones_per_volume=True)

Compute volumes in the parts defined by the part expression.

  • Parameters:

    part_expression : Expression of the parts where the topology must be deleted. The default is "*".

    create_zones_per_volume : Whether to create volume zones for each volume. The default is True.

Connect with Ansys