Skip to main content

Prime Mesh Python client library 2025 R1 SP01

compute_volumes

Last update: 16.07.2025

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