The procedure for requesting AWR support has changed. Please read all about
the new AWR product support process.
...
Here is a very simple python program that connects to AWRDE and writes out all the models in the software:
Code Block | ||
---|---|---|
| ||
# Simple script to |
...
test interface to AWRDE |
...
import win32com.client from win32com.client import constants as awrc # create an alias for the AWR API |
...
constants # test that type library is loaded assert awrc.mwEMS_AwrAxiem64 == |
...
2 awrde = win32com.client.Dispatch( |
...
'MWOApp.MWOffice |
...
') |
...
# connect |
...
to AWRDE for model in awrde.Models: |
...
print(model.Name) |
Connecting to a Specific Instance of AWRDE
...