In order to speed up the execution of jython file, you can use the following python commands:
|startMacroTransaction()||Opening a macro transaction|
|endMacroTransaction()||Closing a macro transaction|
Example: Transaction of parameters modification:
Note 1: Use these commands only for the same type of transaction such as creation or modification or deletion.
Note 2: A macro transaction opened with startMacroTransaction() should always be closed with endMacroTransaction()
Note 3: Do not put commands such as deleteMesh() or buildFace() within a macro transaction.
Note 4: Add as many blocks of macro transactions as needed.