Skip to main content

Prime Mesh Python client library 2025 R2 SP04

mesh

Last update: 20.02.2026

AutoMesh.mesh(part_id, automesh_params)

Performs volume meshing on the part with the given meshing parameters.

  • Parameters:

    part_id : Id of the part.

    automesh_params : Parameters for auto mesh.

  • Returns: :

    AutoMeshResults : Returns the AutomeshResults.

  • Return type: AutoMeshResults

Examples

>>> auto_mesh = AutoMesh(model = model)
>>> automesh_params = AutoMeshParams(model = model)
>>> results = auto_mesh.mesh(part_id, automesh_params)

Connect with Ansys