Skip to main content

ModelCenter APIs 2026 R1

setNumThreads

Last update: 18.06.2026

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