System requirements
The Operation API uses the IronPython 2.7.12 engine. Since the engine is included within the Motion Postprocessor, no additional installation is required.How to execute the Operation API
To run the Operation API, activate Python Script from the Import menu.- Make the file includes operation script.
- Import the file on Postprocessor.(Dropdown menu -> Import -> Python Script)

How to write an API example?
To write the script, the following content needs to be added.- You need to import the ‘OperationAPI.py’ file. This file contains all the necessary content to run the example.
- ‘examples/Modules/OperationAPI.py’ is included in ‘Install_Path\Motion\Document\Postprocessor API for Python.zip’.
How to input the value of the target into the function parameter?
- Through the Operation API, when creating Add Curve, Contour, and VectorDisplay, the following information must be known: This includes information about the target, Characteristic, and Component. This information can be found by referring to the UI.



Example
The Operation API can manage tasks from start to finish, centered around the ApplicationHandler class. This class implements the main functionlities of the API and helps users controls the entire flow, including the initialization and termination of the API. By using the ApplicationHandler class, you can gain a comprehensive understanding of the overall behavior of the API and efficiently handle the necessary tasks.- The examples provided below can be found within the ‘Install_Path\Motion\Document\Postprocessor API for Python.zip’ compressed file.
- After unzipping the ‘Install_Path\Motion\Document\Postprocessor API for Python.zip’ file, you can find the example file at the following path: ‘examples/OperationAPIUsingThePythonLanguage.py’