Skip to main content

Prime Mesh Python client library 2025 R1 SP01

mesh

Last update: 17.07.2025

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