Skip to main content

Prime Mesh Python client library 2026 R1

set_num_threads

Last update: 02.04.2026

Model.set_num_threads(num)

Sets the number of threads for multithreaded operation.

Parameters:

num

Number of threads.

Examples

>>> model = client.model
>>> model.set_num_threads(4)

Connect with Ansys