TAGGED: apdl-ansys, api, python, python-apdl, python-scripting, python-scripts
-
-
March 13, 2024 at 3:51 pmNicola TegasSubscriber
Hi 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 pmAniketForum Moderator
Hi 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.
- How to apply Compression-only Support?
- At least one body has been found to have only 1 element in at least 2 directions
- Error when opening saved Workbench project
- Script Error Code:800a000d
- Elastic limit load, Elastic-plastic limit load
- Image to file in Mechanical is bugged and does not show text
- Element has excessive thickness change, distortion, is turning inside out
-
1772
-
635
-
599
-
591
-
366
© 2025 Copyright ANSYS, Inc. All rights reserved.