Skip to main content
Ansys Developer Tips & Tricks - Python

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

rohith.patchig… | 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!

Read more about Script Tip Friday- "Python Code"​ object in Mechanical
Ansys Developer Tips & Tricks

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

rohith.patchig… | 07.22.2022

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

Read more about Script Tip Friday- Automate Imported Loads Set up with WB Scripting
Ansys Developer Tips & Tricks

Script Tip Friday - Connecting Mechanical and Excel

Ansys Developer | 07.15.2022

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

Read more about Script Tip Friday - Connecting Mechanical and Excel
Ansys Developer Tips & Tricks - Python

Script Tip Friday - Named Tuples

James Derrick | 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().

Read more about Script Tip Friday - Named Tuples
Ansys Developer Tips & Tricks

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

Ansys Developer | 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!

Read more about Script Tip Friday - Displaying txt, PDF or browser contents in your worksheet
Ansys Developer Tips & Tricks

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

Ansys Developer | 06.17.2022

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

Read more about Script Tip Friday- Adding contact tools to the solution branch for all contacts
Ansys Developer Tips & Tricks

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

pernelle.maron… | 06.10.2022

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

Read more about Script Tip Friday- Create and export contact tool results for all time steps
Ansys Developer Tips & Tricks

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

landon.kanner@… | 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.

Read more about Script Tip Friday- Communicate with the Project Page from within Mechanical
Ansys Developer Tips & Tricks

Script Tip Friday- How to navigate scripting in SCDM

Ansys Developer | 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.).

Read more about Script Tip Friday- How to navigate scripting in SCDM

Connect with Ansys