Skip to main content
Ansys Developer Tips & Tricks

Filter The Results of a dir Command

| 08.26.2022

To check all available methods and properties of an object we often use the dir() command. Sometimes it is useful to filter it by keywords, and for this the filter() method can be used.

Ansys Developer Tips & Tricks - Python

Exporting results during a DOE

| 08.19.2022

This week’s script tip comes from our very own Pernelle Marone-Hitz, Lead Application Engineer at Ansys.

Ansys Developer Tips & Tricks

Script Tip Friday- From ODB++ to Modal Analysis

| 08.12.2022

Enrico Bedogni shares his 4-step process to go from ODB++ To Modal Analysis.

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.