Skip to main content

Compile Filter Script

Compiling the filter script tells you that it is valid before you generate the study's events. The Compile button below the Event Filter box checks the script and prepares it for generation, and the Filter script is compiled indicator at the right of the row turns green when the script is ready.

Compile the script whenever you write or change it: the study's Run button is enabled only while its filter is empty or compiled.

Compile the Filter Script​

Check the study's filter script and prepare it for generation. Compile is available while the study is unlocked and the Event Filter box holds a script that has not yet compiled. It is unavailable while the box is empty, while its script is already compiled, and while a compile or a generation is in progress.

  • Click the Compile button below the Event Filter box.

A Mundane Stations study's Event Filter box holding a script that has not compiled, with the pointer on the Compile button.

A progress ring turns over the box while the script compiles. When the script compiles, the Filter script is compiled indicator turns green and the Run button can be used. When it does not compile, Aquila shows the errors and the indicator stays red: correct the script and compile it again.

Compiled Indicator States​

The Filter script is compiled indicator at the right of the Event Filter row shows whether the study can use its filter.

A Mundane Stations study's Event Filter row after compiling, with the Filter script is compiled indicator green and the Compile button unavailable.

StateMeaning
GreenThe script compiled, and the study can generate its events with it.
RedThe script has not compiled. Compile it before you generate the study's events.
HiddenThe Event Filter box is empty, so there is no filter to compile.

When to Compile Again​

A compiled script must be compiled again before you generate the study's events whenever you:

  • Change the script in the Event Filter box, whether by typing, by inserting an item from the box's menu or by applying a preset (Filter Script Presets).
  • Switch the study between heliocentric and geocentric positions (Ephemeris Settings).