Skip to main content

Prime Mesh Python client library 2026 R1 SP01

set_num_threads

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