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

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