-
-
November 2, 2023 at 6:15 pm
Jett22
SubscriberHello,
I have created a few scripts which I use to automate some procedures and solutions inside of ANSYS Workbench. The two ways I know how to initialize these scripts are through windows command line or by running the script file by navigating to the "Run Script File..." button on the GUI. Does anyone know how to control workbench through an external python script? I am hoping to do some external processing and interact with my current workbench scripts at the same time.
Thank you for any help in advance!!
Jett
-
November 3, 2023 at 2:39 pm
Aniket
Forum Moderatorcan you please check the link below and see if that helps:
https://ansyshelp.ansys.com/account/Secured?returnurl=/Views/Secured/corp/v232/en/wb2_js/wb2js_cmdlineexec.html
-Aniket
-
November 10, 2023 at 3:30 am
Jett22
SubscriberHello Aniket,
Not quite.
I am looking to spit text/commands into the workbench command window either via MATLAB or python. This command window is running on a .NET library. I would like to be able to access that from an external python script to send commands to it. Below is an example of what I am referencing.Â
Any help would be greatly appreciated.Â
Jett
-
- The topic ‘Using ANSYS workbench from outside python script’ is closed to new replies.
-
3862
-
1414
-
1221
-
1118
-
1015
© 2025 Copyright ANSYS, Inc. All rights reserved.