Helpful Hints and Tips: Python Example #1
Abstract: Helpful Hints and Tips on scripting Python with the StressCheck COM API to 1) open the Peter02 Handbook model (located in C:\Program Files\ESRD\StressCheck PE XX\Handbook\Basic\2D-Basic), 2) update model parameters, 3) solve a linear p-extension, 4) extract maximum principal stress convergence data to a TXT file, and 5) plot stress contours and save to a PNG file.
Note: change the extension from .txt to .py in order to run the script.