Skip to Main Content

Ansys Mechanical Scripting

Course Overview

The scope of this training is to cover the Ansys Mechanical Scripting. You will learn how to use the console and to access Mechanical’s API. After completing the course, you will be able to automate the creation of standard tree objects in Mechanical/Meshing; change the solver settings; automatically explore the mesh and geometry and export results.  This course may be use as a steppingstone to the Introduction to ACT in Mechanical class. 



  • Knowledge of Ansys Workbench and Mechanical is required.  
  • A basic knowledge of Python programming is recommended but not required. 

Target Audience:

Mechanical Engineers & Developers who want to automate features creation in Mechanical

Teaching Method:

Lectures and computer practical sessions to validate acquired knowledge.

Learning Path


Learning Outcome

  • How to use the Mechanical console 
  • Access Mechanical’s API 
  • Create buttons in the Mechanical user interface. 
  • Modify the solver settings 
  • Create loads and results objects 
  • Explore the mesh and geometry programmatically 
  • Automatically create Mechanical model from start to finish. 

Available Dates

Date / Time Duration Event Type Location Language Course Cost Registration
May 26, 2021
10:00-12:00 CEST (GMT +1)
2 Sessions
May 26-27
Virtual Virtual - WebEx English Subscription Only Register
November 24, 2021
10:00-12:00 CET (GMT +1)
2 Sessions
Nov 24-25
Virtual Virtual - WebEx English Subscription Only Register

Learning Options

Training materials for this course are available with a Ansys Learning Hub Subscription. If there is no active public schedule available, private training can be arranged. Please contact us.


This course is made of five modules. Each module should take no more than 20 minutes to complete. Each module contains both lecture and short exercises. 

  • Module 1: Introduction - Learn how to use the console. 
  • Module 2: Preprocessing - Automatically create loads and explore the mesh and geometry. 
  • Module 3: Solve settings and Buttons - Create buttons in Mechanical’s tool bar, programmatically manage the solver settings. 
  • Module 4: Postprocessing - Create results object and extract data 
  • Module 5: Wrap up - Set up, solve and extract the results from a model without using Mechanical’s GUI.