Skip to main content
getting started with classes in python

Getting started with classes in Python Part 5: `classmethod` and `staticmethod`

james.derrick@ansys.com | 12.03.2024

This series continues by exploring two notable exceptions to the self parameter for methods, classmethod and staticmethod.

tips & tricks

Aligning external imported data with your Mechancial Model via Python scripting

jimmy.he@ansys.com | 11.20.2024

This article walks users through creating coordinate systems from the coordinates of three non-colinear points, and then using two coordinate systems to align the external imported data with the current Mechanical model. This tool allows users to eliminate the guesswork from the alignment process and improve the accuracy of data alignment.

getting started with classes in python

Getting started with classes in Python Part 4: Hashing & Mutability

james.derrick@ansys.com | 11.18.2024

Part-four of this series sees us move from the "basic" knowledge required to understand classes and into more "intermediate" topics - starting with mutability of dataclasses.

Starting with classes in Python

Getting started with classes in Python Part 1: Anatomy of a Class

james.derrick@ansys.com | 10.18.2024

In Python you may hear this phrase said a lot "everything is an object", which they are! Objects, that is.

Starting with classes in Python

Getting started with classes in Python

james.derrick@ansys.com | 10.17.2024

Understand the basics of programming in Python but heard a lot about "classes" without being sure what they are or how they'd be useful to you? This article series is for you.

Ansys PyDynamicReporting

Ansys Dynamic Reporting: generate a custom number of plots with any number of variables

marina.galvagni@ansys.com | 08.28.2024

Looking to combine multiple tables in a non-structured way using Ansys Dynamic Reporting? This tutorial walks you through addressing this problem using Python.

Ansys PyDynamicReporting

How to manipulate report HTML: a user example

marina.galvagni@ansys.com | 07.10.2024

Learn to combine two of the least-known report templates in Ansys Dynamic Reporting to allow you to manipulate the HTML of the report.

Ansys Developer Tips & Tricks

Scripting for Mechanical Engineers

pernelle.maronehitz@ansys.com | 06.12.2024

This article aims to clarify and to make you feel more confident about getting started with automation, customization, PyAnsys, ACT, DPF, Python Objects, and other scripting features in Ansys.

PyMechanical

Create a report from a saved Mechanical session (.mechdb or .mechdat)

landon.kanner@ansys.com | 02.20.2024

This demo shows you how to create a report from a saved Mechanical session using Python in Ansys v2024R1.