Skip to main content
Ansys Developer Tips & Tricks - Python

Script Tip Friday- "Python Code"​ object in Mechanical

| 07.29.2022

What if you could easily export all your results in Mechanical as images using simple scripts when running several design variations from Workbench automatically?

From the latest release i.e. v2022R2, we can do that!

Ansys Developer Tips & Tricks

Script Tip Friday- Automate Imported Loads Set up with WB Scripting

| 07.22.2022

This week's Script Tip walks us through automating imported loads set up with Workbench scripting.

Ansys Developer Tips & Tricks

Script Tip Friday- Connecting Mechanical and Excel

| 07.15.2022

This script tip covers Iron Python scripts for data export from Ansys Mechanical to MS Excel.

Ansys Developer Tips & Tricks - Python

Script Tip Friday - Named Tuples

| 07.01.2022

When writing scripts of any kind you will often come across data collections, or groupings that could really do with being stored in some sort of structure. Now, you can always go away and make a class, with a constructor and properties and so on and so forth... but this is scripting and that might feel a bit too much like hard work. Instead I ask if you have heard of namedtuple().

Ansys Developer Tips & Tricks

Script Tip Friday- Displaying txt, PDF or browser contents in your worksheet

| 06.24.2022

Our Script Tip this week comes from our Senior Application Engineer here at Ansys, Vishnu Venkataraman. Have you ever wondered the best way to display text, PDF or browser contents in your worksheet? Well thank goodness we have Vishnu here to help!

Ansys Developer Tips & Tricks

Script Tip Friday- Adding contact tools to the solution branch for all contacts

| 06.17.2022

This script tip demonstrates how to add contact tools to the solution brand for all contacts.

Ansys Developer Tips & Tricks

Script Tip Friday- Create and export contact tool results for all time steps

| 06.10.2022

This script tip covers how to create and export contact tool results for all time steps using ACT.

Ansys Developer Tips & Tricks

Script Tip Friday- Communicate with the Project Page from within Mechanical

| 06.03.2022

In this script tip Landon Kanner helps answer a question we get all the time- how to communicate with the Project Page from within Mechanical.

Ansys Developer Tips & Tricks

Script Tip Friday- How to navigate scripting in SCDM

| 05.27.2022

This script tip covers navigating Ansys SpaceClaim Direct Modeler for scripting, and then accessing the different objects in SCDM by scripting (Solid, Faces, Edge etc.).