    

 ## On this page

  

 

 # set\_num\_threads

 Last update: 16.10.2025 

<a id="ansys.meshing.prime.Model.set_num_threads"></a>

#### Model.set\_num\_threads(num)

Sets the number of threads for multithreaded operation.

- **Parameters:**
    
    **num**: Number of threads.

### Examples

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

```