What are the python commands enabling to activate-deactivate the batch mode in commands files?

Yann_Le_Floch
Yann_Le_Floch
Altair Employee
edited November 2021 in Altair HyperWorks

When using command files, often one would like to execute in batch mode some time consuming actions in order to save time. For instance one would like to execute in batch mode the isovalues display but deactivate the batch mode in order to print view in file. For that it is needed to activate the batch mode before the execution of the time consuming action and deactivate it once it has been done. The python commands enabling to activate and deactivate the batch are presented in the table below:

Command
Enables to
putBatchMode()
Activate the batch mode
resetBatchMode()
Deactivate the batch mode
Tagged: