Skip to main content

Prime Mesh Python client library 2026 R1

get_num_threads

Last update: 02.04.2026

Model.get_num_threads()

Get the number of threads enabled for multithreaded operation.

Returns:

int

Returns the number of threads.

Return type:

int

Examples

>>> model = client.model
>>> num_threads = model.get_num_threads()

Connect with Ansys