System requirements
If you are using CPython, you will need to install Python.NET first.Notes
- PythonNet only support Python 3.7 - 3.11. If you are using Ironpython or run the Python script from the Scripting menu of Ansys Workbench, PythonNet may not be required.
-
As illustrated in the figures below, to create a Contour or Vector using the Result File Reader, you need to be aware of the following information:
- Within the UI, by accessing the “Contour” function, you can observe Characteristics and Components. The combination of these paths (Characteristics, Components) can be utilized as input values.

- Within the UI, by accessing the “Vector” function, you can observe Characteristics. These paths (Characteristics) can be used as input values.

How to execute Result File Reader
The Postprocessor API is a functionality that allows you to access Ansys Motion analysis results independently of the postprocessor and extract the desired results. The Postprocessor API can be used for process automation, integration with other processes, and integration with design optimization tools.
Example
The following sample code demonstrates how to use Result File Reader API :- To use the Result Filer Reader API, you can conveniently develop by refering to the following guidlines.
- Refer to resultfilereader.py in “Ansys installed path/Motion/Document/Postprocessor API for Python.zip”
- The example was created using “Ansys installed path/Motion/Document/Pre and Post Processor.zip”
- Create a example_resultfilereader.py file