Developing and Debugging Design Assessment Scripts

The scripting environment used in Design Assessment is the same as that used in the Workbench and is based on IronPython, which is well integrated into the rest of the .NET Framework (on Windows) and Mono CLR (on Linux). For more details see the Workbench Scripting documentation.

With the help of a development environment, such as Microsoft® Visual Studio®, Python scripts can be developed and “debugged”. To debug a script, open its text file in your development environment and attach the debugger to the AnsysWBU.exe process of interest. Be sure to specify managed code mode. You will then be able to control the execution of your script, stepping along and reviewing the values obtained.


Release 18.2 - © ANSYS, Inc. All rights reserved.