Scripting in Workbench

Scripts that include Ansys Electromagnetics projects can be recorded and played back via Workbench.

When a WB journal is run from the command line, a beta feature allows the AnsysEDT portion to also run in batch mode: i.e, when using RunWB2 -B (In prior releases, a significant portion of recorded journal would error out requesting interactive mode playback). To use this beta feature, set the following environment variable before running the script.

From a Windows Command prompt, for instance,

Set ANSYSEM_FEATURE_SF6694_NON_GRAPHICAL_COMMAND_EXECUTION_ENABLE=1

RunWB2 -B -R myReplayJournal.wbjn

Related Topics 

Workbench Data Integration Overview

Adding New Ansys Electromagnetics Analysis Systems

Importing Ansys Electromagnetics Projects into Ansys Workbench

Editing Ansys Electromagnetics Models in Workbench

Analyzing Ansys Electromagnetics Models in Workbench

Performing Parameter Studies in Workbench