13.6.1. Accessing the JAR Files

Engineering Knowledge Manager

Administration Guide | Chapter 13: EKM Client API | 13.6. Writing and Running a Python Script Using IronPython |

13.6. Writing and Running a Python Script Using IronPython |  | 13.6.2. Accessing the C# DLLs
Prev |  | Next

### 13.6.1. Accessing the JAR Files

The .NET implementation of the API still makes use of the JAR files contained in the `ekm-client/lib` directory. If you have ANSYS Workbench 18.2 installed, you do not need to do anything else. If you do not have ANSYS Workbench installed, you must have a `lib` directory in the working directory of your script that contains all of the JAR files in `ekm-client/lib`. If you have ANSYS Workbench 18.2, you can simply open a command prompt or shell and change to the `ekm-client/samples/ironpython` directory and run the scripts there. For example:

    F:\ekm182\v182\ekm-client\samples\jython>cd ..\ironpython

    F:\ekm182\v182\ekm-client\samples\ironpython>ipy OpenCloseConnection.py
    >>>>> Connection Default@machine7641 opened
    >>>>> Connection Default@machine7641 closed

Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.

Prev | Up / Contents | Next

Release 18.2 - © ANSYS, Inc. All rights reserved.