Data Change Event Reactive Script Example
Getting Started
Getting Started
This script will notify you when a data property has changed and list all the layers that use the data.
Put this script in the folder On_Data_Properties_Changed in your Python scripts directory.
Go to Tools->Options->Environment->Python Scripts and click "Refresh from Disk". Your script should be listed automatically.
Now, whenever a data property changes, the data type and name will be displayed along with a list affected layers.
This simple script is useful for quickly determining which layer may have been updated when a data property changes.