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 - 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

Connect with Ansys