class ansys.meshing.prime.Client(*, server_process=None, ip=‘127.0.0.1’, port=50055, timeout=20.0, credentials=None, communicator_type=‘grpc’, **kwargs)
Provides theClient 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 isdefaults.ip(). port : Port where the server is deployed. The default isdefaults.port(). timeout : Maximum time to wait for connection. The default isdefaults.connection_timeout(). credentials : Credentials to connect to the server. The default isNone. -
Raises:
ValueError: Failed to load the communicator.