We’re putting the final touches on our new badges platform. Badge issuance remains temporarily paused, but all completions are being recorded and will be fulfilled once the platform is live. Thank you for your patience.

Ansys Learning Forum Forums Discuss Simulation General Mechanical ANSYS command line – running python script Reply To: ANSYS command line – running python script

Aniket
Forum Moderator

C:\Program Files\ANSYS Inc\V231\Framework\bin\win64\runwb2 -R workbenchscriptfile -I  should be the way of doing it if you want to your script interactively from the command prompt.

https://ansyshelp.ansys.com/account/Secured?returnurl=/Views/Secured/corp/v232/en/wb2_js/wb2js_cmdlineexec.html

Does the workingproject.py script work when you run it from file>scripting>Run script file? If yes, try checking the file path for the script and see if the autocompletion feature helps to navigate to the correct path.

-Aniket

Forum Rules & Guidelines