Scripting in Workbench
Scripts that include Ansys Electromagnetics projects can be recorded and run in Workbench.
When a WB journal is run from the command line, Electronics Desktop provides a beta feature that allows the Ansys EDT portion to also run in batch mode (that is, when using RunWB2 -B).
To use this beta feature, set the NON_GRAPHICAL_COMMAND_EXECUTION environment variable before running the script.
From a Windows Command prompt, for example:
Set ANSYSEM_FEATURE_SF6694_NON_GRAPHICAL_COMMAND_EXECUTION_ENABLE=1
RunWB2 -B -R myReplayJournal.wbjn