Getting started with classes in Python Part 6: Public, Private and Super-Private Naming
James Derrick | 12.30.2024Part six of ten in this series on classes in Python covers the levels of obfuscation available in Python: private and super-private.
Using Python to translate NASTRAN .brd inputs to APDL inputs
mark.capellaro… | 12.16.2024Python is quite good at reading, writing and finding things in text files. This allows us to develop tools that can be used to find data in NASTRAN inputs files and create the ANSYS APDL equivalent.
Getting started with classes in Python Part 5: `classmethod` and `staticmethod`
James Derrick | 12.03.2024This series continues by exploring two notable exceptions to the self parameter for methods, classmethod and staticmethod.
Aligning external imported data with your Mechanical Model via Python scripting
[email protected] | 11.20.2024This 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 Part 4: Hashing & Mutability
James Derrick | 11.18.2024Part-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 Part 1: Anatomy of a Class
James Derrick | 10.18.2024In Python you may hear this phrase said a lot "everything is an object", which they are! Objects, that is.
Getting started with classes in Python
James Derrick | 10.17.2024Understand 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 Dynamic Reporting: generate a custom number of plots with any number of variables
marina.galvagn… | 08.28.2024Looking to combine multiple tables in a non-structured way using Ansys Dynamic Reporting? This tutorial walks you through addressing this problem using Python.
How to manipulate report HTML: a user example
marina.galvagn… | 07.10.2024Learn to combine two of the least-known report templates in Ansys Dynamic Reporting to allow you to manipulate the HTML of the report.