Tutorial 5-1: Creating a new script (.py) file

All functions in the WMX3 C++ Library are usable in the WMX3 Python library.

This tutorial shows how to create a script (.py) file that uses the Python library.

  1. Place the following 3 files in the same folder as the script (.py) file.

1. _WMX3ApiPython.pyd
2. WMX3ApiPython.py
3. IMDll.dll

  1. Add the following to the beginning of the script file to import the Python library.

from WMX3ApiPython import *

  1. This concludes the preparation of the script file. See the following section for additional information regarding how to use the Python library.