Skip to main content

Ansys Developer Portal

 
Engineer new solutions to automate, manage, and extend the power of simulation workflows.

 

What is simulation? DocumentationCareers at Ansys

Explore our docs

Get your projects started quickly with our libraries and APIs. Documentation, examples and how-to projects get you from concept to execution, so you can do more with your simulations.

 

View documentation

A community for you

Share your knowledge, seek the expertise you need, and discuss your project. Find everything you need among a community of peers, specialists, and experts.
 

 

Browse the forums

Partner with Ansys

We understand that crafting exceptional simulations is a collective effort, and that's where our partners excel at helping you realize your visions and building out your solutions.
 

 

See our partners

Events

Recent articles

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.

getting started with classes in python

Getting started with classes in Python Part 3: Methods and properties

james.derrick@ansys.com | 11.05.2024

Part-three in a ten-part series, this article introduces adding methods to your data classes.

classes in python

Getting started with classes in Python Part 2: `dataclasses`

james.derrick@ansys.com | 10.29.2024

Part-two of this series covers constructing one of the simplest and most useful types of class, data classes and the reasons you may want to do this in the first place.

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.

Get in touch

If you are new here, we recommend visiting the Developer Community or reading through our Tips & Tricks articles. You can find existing discussions, best practices, and helpful guides through these resources, and it is likely you will find the solution you are looking for.