Process Integration and Design Optimization

Process Integration and Design Optimization

Using ANSYS workbench from outside python script

    • Jett22
      Subscriber

      Hello,

      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

    • Aniket
      Forum Moderator

      can 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

      Forum Rules & Guidelines

    • Jett22
      Subscriber

      Hello 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

Viewing 2 reply threads
  • The topic ‘Using ANSYS workbench from outside python script’ is closed to new replies.