Skip to main content

ModelCenter APIs 2025 R2

setNumThreads

Last update: 16.07.2025

abstract fun setNumThreads(numThreads: Int)

Get the number of threads that should be used for running in parallel; this is only a hint.

Parameters

numThreads the number of threads

Throws

IllegalArgumentException if the number of threads is invalid
IllegalStateException if the value cannot currently be set

Connect with Ansys