TAGGED: apdl-ansys, api, python, python-apdl, python-scripting, python-scripts
-
-
March 13, 2024 at 3:51 pm
Nicola Tegas
SubscriberHi everyone, I've been looking for a solution to this problem for a while but at the moment I can't find any solutions.
I'm trying to automate the FEM analysis of a model that currently uses different apdl macros that work great. Currently these five different macros create a heatmap of the model via external files.My goal is to delete the various macros that I insert inside the run block and keep them in an external folder, these will have to be called from a python code that will be in the run block.
In this way the end user will only have to click on "Solve" to obtain the results of the model, while now the various macros must always be updated again.
Does anyone know any commands I can insert into the Python code to run the APDL macros that I would like to keep in an external folder?
Thank you in advanceÂ
-
March 15, 2024 at 12:50 pm
Aniket
Forum ModeratorHi Nicola, Please check the following extension on app store:
https://catalog.ansys.com/product/5b3bc6857a2f9a5c90d32e06/command-obj-to-act
this contains source code, so with some efforts you should be able to convert all you apdl extensions to an ACT app.
-Aniket
-
- The topic ‘Commands to run apdl macros via python scripting in Ansys mechanical’ is closed to new replies.
-
2788
-
965
-
851
-
599
-
591
© 2025 Copyright ANSYS, Inc. All rights reserved.