Point Data Event Reactive Script Example

Getting Started

This script will display all points at are added to a horizon data. It is not recommended to use this script when adding a large number of points to a horizon data at once.

Allowing the script above to access all the points added is an expensive operation and in disabled by default.

In order to the script above to access the points, you need to include the script shown below.

Put both scripts in the folder On_Horizon_Data_Points_Added in your Python scripts directory.

Go to Tools->Options->Environment->Python Scripts and click "Refresh from Disk". Both scripts should be listed automatically.

Now, whenever points are added to a horizon data, the points will be displayed in the Python Terminal.

This simple script is useful for determining the exact point values that were added to a horizon data.