-
-
October 2, 2023 at 6:43 pm
Jett22
SubscriberHi everyone,
I am trying to start a python script in ANSYS Workbench from Windows Command Prompt. This script has python commands which has an automation scheme in it. I am having slight issues with how to do this. Once in Workbench I do: File-->Scripting-->Run Script File...-->(change the file type to python)-->(then select my automation python script)
So far I am entering this into cmd: “C:\Program Files\ANSYS Inc\v231\Framework\bin\Win64\RunWB2.exe” -r "C:\Users\jett\Desktop\ANSYStest1\BasicV2\WorkingProject.py"
I am getting a fatal error. Can someone please explain how to do this?
Thanks in advance -
October 3, 2023 at 2:05 pm
Federico
Ansys EmployeeHello,
what is the error that you are getting?
You can find more information on Scripting in Workbench here: Scripting Overview (ansys.com)
-
- The topic ‘Running journal/python file form the command line – ANSYS CFX’ is closed to new replies.
-
3492
-
1057
-
1051
-
965
-
942
© 2025 Copyright ANSYS, Inc. All rights reserved.