Skip to main content
Ansys Developer Tips & Tricks - Python

Script Tip Friday - Examples of Python Results for Mechanical (Part 1)

pernelle.maronehitz@ansys.com | 12.16.2022

In this post, we cover two examples of Python Results: (1) get the maximum over time of the total deformation; and, (2) get the average total deformation on all time steps.

Read More
Ansys Developer Tips & Tricks

Script Tip Friday - Plot Design Point (DP) Results

Ansys Developer | 11.18.2022

This PyDPF example shows a simple way to plot a deformation result for four design points (DP) in the same window.

Read More
Ansys blog

Access the Power of Ansys from the Python World

Ansys Developer | 11.15.2022

Python is the world’s most popular programming language, and the Python ecosystem contains an abundance of open source code libraries that developers can freely use to create new solutions.

Read More
Ansys Developer Tips & Tricks

Script Tip Friday - Efficiently Combining MAPDL and Mechanical Scripting

pernelle.maronehitz@ansys.com | 11.11.2022

Learn to efficiently combine Mechanical automation scripting and MAPDL scripting for a better post-processing workflow.

Read More
Ansys Developer Tips & Tricks - Python

Script Tip Friday - How to Plot Stress Gradient Using PyDPF

ayush.kumar@ansys.com | 11.04.2022

This Script Tip Friday is brought to you by Ayush Kumar who is a Senior Application Engineer here at Ansys. Ayush will cover how to plot Stress Gradient on a path normal to the selected face at the selected node using PyDPF.

Read More
Ansys Developer Tips & Tricks

Script Tip Friday - Determining an Optimal Location for Components on a PCB

Ansys Developer | 10.21.2022

What is the optimal location to place a component on a Printed Circuit Board (PCB), in terms of its reliability under shock, vibration, and other environmental conditions?

Read More
Ansys Developer Tips & Tricks - Python

Numbers and "numbers" in Python

james.derrick@ansys.com | 10.06.2022

Numbers in Python are quite simple, there are only 3 base numeric types and they can all be combined freely without (inherent) errors. In this post I go over some information you'll probably know and some you might not. Read on for info about numbers!

Read More
Ansys Developer Tips & Tricks - Python

Python Standard Library Diving: copy

james.derrick@ansys.com | 10.06.2022

One of the first things you learn in Python is that it passes references around when assigning things. It does not copy things in memory. So, how do you actually do copying? Well there's a built-in library to do it! copy.

Read More
Ansys Developer Tips & Tricks - Python

The Python Standard Library: getpass

james.derrick@ansys.com | 10.05.2022

In this article I want to shine a light on one of the smaller and more useful packages in the Python standard library. Hopefully you know it already, but if you're coming across it for the first time, read on! This is all about getpass...

Read More