Reusable functions can be defined in the Quality Rules Capture app. These functions are defined in the objects of know-how libraries. To call these functions, the associated library must be:
A library is called from any EKL script using the For example: Include "LibName" […] LibName::FunctionName(<args>) This mechanism is extended to Python scripts. Once defined and exposed, the know-how library for EKL scripts can also be included in any Python script, and you can call their functions. To include a library in Python scripts, the statement syntax is as follows: ekl.include("LibName")
All EKL functions from the included library are called using the following syntax: ekl.LibName.FunctionName(<args>) Note:
A new page titled Reusable EKL Functions in Python is available in
the Getting Started section of the Python editor.
| |||||||