Skip to main content

Prime Mesh Python client library 2025 R2 SP04

User guide

Last update: 20.02.2026

This section provides an overview of how you use PyPrimeMesh for mesh preparation.

Overview

The launch_prime() method in PyPrimeMesh launches Ansys Prime Server and returns an instance of the Client class. You can then send gRPC commands to Ansys Prime Server and receive responses from it.

from ansys.meshing.prime import launch_prime

prime_client = launch_prime()

Connect with Ansys