Event class transform
To access the transform for an event class:
- Navigate to the event class from Events > Event Classes.
- From the drop-down list, select Transforms.
- Enter information into the dialog box (as Python code), and then click the Save button in the upper-right corner. As you develop your transform, you can revert back to the last saved state by clicking the Revert this Transform button.
The following example shows how you can validate that a device object exists before using it to drop events from a particular location.
if device and "Hawaii" in device.getLocationName(): evt._action = "drop"