How to set cpu cores when solving by ACT script?

Options
wanghao
wanghao Member Posts: 23
First Comment Name Dropper

Hi
I'm trying to solve an analysis such as explicit dynamics analysis by ACT script like:

# some pre-process scripts

Model.Solve(True)

Is there any way that can set the cpu cores by ACT script?

I noticed Model.Solve() has 2 function signature.

 Solve(self: Model, wait: bool, config: SolveConfiguration)
 |              Run the Solve action.
 |          
 |              wait: Wait or not for the solve to be done.
 |              config: The solve configuration to use. If null, the default.
Solve(self: Model, wait: bool, config: str)
 |              Run the Solve action.
 |          
 |              wait: Wait or not for the solve to be done.
 |              config: The solve configuration to use. Results in a new error message if the input 
 |               solve configuration does not exist. If none is provided, the default is used 
 |               for the solve.

Is there any examples for SolveConfiguration or the solve config struct?