Skip to main content

Prime Mesh Python client library 2025 R1

get_num_threads

Last update: 17.07.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