I am new to python. I generated a macro which is a .py script using Abaqus Macro manager. I realised that this script works only when run from the Abaqus manager and does not run by itself.
Please does anyone know how to modify this script so i can run it without using the Abaqus. Thank you in advance for your help
我是Python的新手。我使用Abaqus宏管理器生成了一个宏,它是一个.py脚本。我发现这个脚本只有在通过Abaqus管理器运行时才能工作,而不能独立运行。请问有谁知道如何修改这个脚本,以便我不使用Abaqus也能运行它?提前感谢大家的帮助。

Adroit
解决方案
According to my moderate experience, if you need loop computations, you have to launch the script inside CAE, since when starting it in command line, only one cycle is computed. An example of the script intended for loop computations and visualisation, you can find at researchgate, search text "How to write scripts for Abaqus"
根据我的中等经验,如果你需要循环计算,必须在CAE内启动脚本,因为从命令行启动时,只会计算一个周期。你可以在ResearchGate上搜索文本“如何为Abaqus编写脚本”,找到用于循环计算和可视化的脚本示例。
免责声明:本文系网络转载或改编,未找到原创作者,版权归原作者所有。如涉及版权,请联系删