> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Client

### *class* ansys.meshing.prime.Client(, server\_process=None, ip='127.0.0.1', port=50055, timeout=20.0, credentials=None, connection\_type=ConnectionType.GRPC\_SECURE, uds\_id=None, client\_certs\_dir=None, \*\*kwargs)

Provides the `Client` class for PyPrimeMesh.

**Parameters:**

**server\_process**

Server process in the system. The default is `None`.

**ip**

IP address where the server is located. The default is `defaults.ip()`.

**port**

Port where the server is deployed. The default is `defaults.port()`.

**timeout**

Maximum time to wait for connection. The default is `defaults.connection_timeout()`.

**credentials**

Credentials to connect to the server. The default is `None`.

**uds\_id**

Id for the Unix Domain Socket (UDS). The default is `None`.

**client\_certs\_dir**

Directory containing client certificates for mutual TLS.

**Raises**

**——**

**ValueError**

Failed to load the communicator.

### Methods

| Name | Description |
| - | - |
| [`Client.exit`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2026-r1/api/_autosummary/ansys.meshing.prime.Client.exit)() | Close the connection with the server. |
| [`Client.run_on_server`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2026-r1/api/_autosummary/ansys.meshing.prime.Client.run_on_server)(recipe) | Run a recipe on the server. |

### Attributes

| Name | Description |
| - | - |
| [`Client.model`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2026-r1/api/_autosummary/ansys.meshing.prime.Client.model) | Get model associated with the client. |
