Automation of EVS
Given an appropriate Enterprise license or Automation license, EVS can be run in a fully automated manner in two ways. The first is to use special command line flags to run the program, open applications, run scripts, and cleanly close when complete. The second is to use an external language and programming API to control EVS via custom written code.
Automating EVS via the Command Line
EVS can be automated using custom command line arguments. The command line arguments all have a long form as well as a shorter form, either of which can be used identically.
The available arguments are:
- –file or -f followed by the full path to an .evs file: Load a specific EVS application when opening EVS
- –python or -p followed by the full path to a .py file: Run a specific Python script after loading the EVS application
- –shutdown or -s: Shut down EVS after the application opens and any specified Python script finishes running.
- –suppressplash or -w: Do not show the splash screen when starting EVS
- –startminimized or -m: Start and run EVS minimized
For example, the following command, if added to a batch file (.bat), would run EVS Version 2024.9.1 (if installed to default location), suppress the splash screen, open a specific application, run a specified Python script, then shut down immediately when finished:
start /wait “C:\Program Files\C Tech Development Corp\EVS 2024.9.1\bin\system\EarthVolumetricStudio.exe” -f “C:\Projects\My Application.evs” -p “C:\Projects\My Python Script.py” -w -s