Skip to main content

Prime Mesh Python client library 2025 R2

get_num_threads

Last update: 10.09.2025

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