Skip to main content
Ansys Developer Tips & Tricks

Find the time-varying center of gravity location of a deforming model

Ansys Developer | 09.16.2022

We cover the steps to find the time-varying center of gravity location of a deforming model using DPF in mechanical.

Read More
Ansys Developer Tips & Tricks

Reconstructing specific APDL results with DPF

pierre.thieffry@ansys.com | 09.02.2022

SDSG is an element quantity that is the maximum difference between the nodal average value and the elemental nodal value for all nodes of the element (for all components of stress). Here we look at the ability to display SDSG results in Mechanical.

Read More
Ansys Developer Tips & Tricks

Filter The Results of a dir Command

pernelle.maronehitz@ansys.com | 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.

Read More
Ansys Developer Tips & Tricks - Python

Exporting results during a DOE

pernelle.maronehitz@ansys.com | 08.19.2022

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

Read More
Ansys Developer Tips & Tricks

Script Tip Friday- From ODB++ to Modal Analysis

Ansys Developer | 08.12.2022

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

Read More
Ansys Developer Tips & Tricks - Python

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

Rohith Patchigolla | 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
Ansys Developer Tips & Tricks

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

Rohith Patchigolla | 07.22.2022

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

Read More
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
Ansys Developer Tips & Tricks - Python

Script Tip Friday - Named Tuples

james.derrick@ansys.com | 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